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
{
@SideOnly(Side.CLIENT)
private val texture = new ResourceLocation(Reference.domain, Reference.modelPath + "gutter.png")
}

View File

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

View File

@ -25,7 +25,7 @@ import scala.collection.convert.wrapAll._
*/
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

View File

@ -23,7 +23,7 @@ import resonantengine.lib.transform.vector.Vector3
*/
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

View File

@ -20,7 +20,7 @@ import scala.collection.convert.wrapAsJava._
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
{
@SideOnly(Side.CLIENT)
val texture = new ResourceLocation(Reference.domain, Reference.modelPath + "motor.png")
val fieldStrength = 1