SPIGOT-7244: Unable to open Shulker Inventory when more than 8 blocks away

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2023-01-28 11:43:55 +11:00
parent f299b781eb
commit 3b6d547a25

View file

@ -38,3 +38,11 @@
iinventory.startOpen(playerinventory.player);
boolean flag = true;
boolean flag1 = true;
@@ -46,6 +66,7 @@
@Override
public boolean stillValid(EntityHuman entityhuman) {
+ if (!this.checkReachable) return true; // CraftBukkit
return this.container.stillValid(entityhuman);
}