Fix server side field not found error

This commit is contained in:
Timo Ley 2021-04-06 11:57:37 +02:00
parent b395473720
commit 872939beb8
6 changed files with 3 additions and 6 deletions

View file

@ -30,7 +30,6 @@ import scala.collection.convert.wrapAll._
object TileGutter object TileGutter
{ {
@SideOnly(Side.CLIENT)
private val texture = new ResourceLocation(Reference.domain, Reference.modelPath + "gutter.png") private val texture = new ResourceLocation(Reference.domain, Reference.modelPath + "gutter.png")
} }

View file

@ -30,7 +30,6 @@ import scala.collection.convert.wrapAll._
*/ */
object TileLaserEmitter object TileLaserEmitter
{ {
@SideOnly(Side.CLIENT)
val texture = new ResourceLocation(Reference.domain, Reference.modelPath + "laserEmitter.png") val texture = new ResourceLocation(Reference.domain, Reference.modelPath + "laserEmitter.png")
} }

View file

@ -25,7 +25,7 @@ import scala.collection.convert.wrapAll._
*/ */
object TileLaserReceiver object TileLaserReceiver
{ {
@SideOnly(Side.CLIENT) val texture = new ResourceLocation(Reference.domain, Reference.modelPath + "laserReceiver.png") val texture = new ResourceLocation(Reference.domain, Reference.modelPath + "laserReceiver.png")
} }
class TileLaserReceiver extends ResonantTile(Material.rock) with ILaserHandler with TBlockNodeProvider with TRotatable class TileLaserReceiver extends ResonantTile(Material.rock) with ILaserHandler with TBlockNodeProvider with TRotatable

View file

@ -23,7 +23,7 @@ import resonantengine.lib.transform.vector.Vector3
*/ */
object TileFocusCrystal object TileFocusCrystal
{ {
@SideOnly(Side.CLIENT) val texture = new ResourceLocation(Reference.domain, Reference.modelPath + "focusCrystal.png") val texture = new ResourceLocation(Reference.domain, Reference.modelPath + "focusCrystal.png")
} }
class TileFocusCrystal extends TileFocus(Material.rock) with ILaserHandler with IFocus class TileFocusCrystal extends TileFocus(Material.rock) with ILaserHandler with IFocus

View file

@ -20,7 +20,7 @@ import scala.collection.convert.wrapAsJava._
object TileMirror object TileMirror
{ {
@SideOnly(Side.CLIENT) val texture = new ResourceLocation(Reference.domain, Reference.modelPath + "mirror.png") val texture = new ResourceLocation(Reference.domain, Reference.modelPath + "mirror.png")
} }
/** /**

View file

@ -24,7 +24,6 @@ import resonantengine.prefab.block.impl.{TBlockNodeProvider, TRotatable}
*/ */
object TileMotor object TileMotor
{ {
@SideOnly(Side.CLIENT)
val texture = new ResourceLocation(Reference.domain, Reference.modelPath + "motor.png") val texture = new ResourceLocation(Reference.domain, Reference.modelPath + "motor.png")
val fieldStrength = 1 val fieldStrength = 1