mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-16 10:51:55 -04:00
fixed robot inventory not updating
This commit is contained in:
parent
7cf14ed7fd
commit
f3dcafc893
@ -23,6 +23,7 @@ class Robot(playerInventory: InventoryPlayer, robot: tileentity.Robot) extends P
|
||||
var lastSentBuffer = -1
|
||||
|
||||
override def detectAndSendChanges() {
|
||||
super.detectAndSendChanges()
|
||||
if ((robot.globalBuffer - lastSentBuffer).abs > 1) {
|
||||
ServerPacketSender.sendPowerState(robot)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user