mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 11:48:02 -04:00
Fix robot being unable to place buckets.
Probably also fixes a lot of similar issues.
This commit is contained in:
parent
e596e61783
commit
b8db395bbb
@ -477,7 +477,7 @@ class Player(val agent: internal.Agent) extends FakePlayer(agent.world.asInstanc
|
|||||||
if (didPlace == EnumActionResult.SUCCESS) {
|
if (didPlace == EnumActionResult.SUCCESS) {
|
||||||
MinecraftForge.EVENT_BUS.post(new RobotPlaceBlockEvent.Post(agent, stack, world, pos))
|
MinecraftForge.EVENT_BUS.post(new RobotPlaceBlockEvent.Post(agent, stack, world, pos))
|
||||||
}
|
}
|
||||||
didPlace != EnumActionResult.FAIL
|
didPlace == EnumActionResult.SUCCESS
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user