Skip to content

Commit

Permalink
Add missing @SideOnly marker (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
basdxz authored Aug 5, 2024
1 parent fee3f28 commit 14403ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/scala/li/cil/oc/client/Textures.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package li.cil.oc.client

import cpw.mods.fml.relauncher.{Side, SideOnly}
import li.cil.oc.Settings
import net.minecraft.client.renderer.texture.TextureManager
import net.minecraft.util.IIcon
Expand Down Expand Up @@ -130,6 +131,7 @@ object Textures {
var iconOn: IIcon = _
}

@SideOnly(Side.CLIENT)
def init(tm: TextureManager) {
tm.bindTexture(fontAntiAliased)
tm.bindTexture(fontAliased)
Expand Down

0 comments on commit 14403ec

Please sign in to comment.