Fixed reverse boolean

This commit is contained in:
Dawson
2023-02-27 07:48:57 -05:00
parent 0170965e53
commit f95ec9e455
2 changed files with 2 additions and 3 deletions
@@ -31,8 +31,8 @@ public class InventoryC extends Check {
return;
// Any of these could result in false positives as our emulator does not account for these things yet.
if(player.getInfo().lastLiquid.isPassed(3)
|| player.getInfo().climbTimer.isPassed(2)
if(player.getInfo().lastLiquid.isNotPassed(3)
|| player.getInfo().climbTimer.isNotPassed(2)
|| player.getBlockInfo().pistonNear) {
return;
}
@@ -805,7 +805,6 @@ public class Processor_18 implements PacketConverter {
public WPacketPlayInWindowClick processInWindowClick(Object packet) {
PacketPlayInWindowClick windowClick = (PacketPlayInWindowClick) packet;
return WPacketPlayInWindowClick.builder().windowId(windowClick.a())
.slot(windowClick.b()).button(windowClick.c())
.action(windowClick.d()).mode(windowClick.f())