mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 11:15:12 -04:00
Allright, I give up, can't reproduce. Best guess I have is that it's a rendering-before-init thing...
This commit is contained in:
parent
4bf6467083
commit
f947f8da60
@ -132,7 +132,7 @@ class Robot extends traits.Computer with traits.PowerInformation with traits.Rot
|
|||||||
|
|
||||||
override def componentCount: Int = info.components.length
|
override def componentCount: Int = info.components.length
|
||||||
|
|
||||||
override def getComponentInSlot(index: Int): ManagedEnvironment = components(index).orNull
|
override def getComponentInSlot(index: Int): ManagedEnvironment = if (components.length > index) components(index).orNull else null
|
||||||
|
|
||||||
override def player: Player = {
|
override def player: Player = {
|
||||||
agent.Player.updatePositionAndRotation(player_, facing, facing)
|
agent.Player.updatePositionAndRotation(player_, facing, facing)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user