Adjust default orientation of screen.

This commit is contained in:
Florian Nücke 2015-07-11 23:18:21 +02:00
parent c29366d2f0
commit 2ee0715bff

View File

@ -48,6 +48,10 @@ object SpawnComputerCommand extends SimpleCommand("oc_spawnComputer") {
case t: tileentity.traits.Rotatable => t.setFromFacing(EnumFacing.UP) case t: tileentity.traits.Rotatable => t.setFromFacing(EnumFacing.UP)
case _ => // ??? case _ => // ???
} }
world.getTileEntity(screenPos) match {
case t: tileentity.traits.Rotatable => t.setFromFacing(EnumFacing.NORTH)
case _ => // ???
}
api.Network.joinOrCreateNetwork(world.getTileEntity(casePos)) api.Network.joinOrCreateNetwork(world.getTileEntity(casePos))