diff --git a/paper-server/patches/features/0019-Delay-open-close-callbacks-for-chests.patch b/paper-server/patches/features/0019-Delay-open-close-callbacks-for-chests.patch index 6c493b1103bb..406b7e15e1fa 100644 --- a/paper-server/patches/features/0019-Delay-open-close-callbacks-for-chests.patch +++ b/paper-server/patches/features/0019-Delay-open-close-callbacks-for-chests.patch @@ -49,7 +49,7 @@ diff --git a/net/minecraft/world/level/block/entity/ContainerOpenersCounter.java index baa8b5aba0500981a191626553d66650c7304b88..52737172ccfa0c7c977e4f2fe1db242e0bb92d25 100644 --- a/net/minecraft/world/level/block/entity/ContainerOpenersCounter.java +++ b/net/minecraft/world/level/block/entity/ContainerOpenersCounter.java -@@ -37,11 +37,23 @@ public abstract class ContainerOpenersCounter { +@@ -37,11 +37,24 @@ public abstract class ContainerOpenersCounter { protected abstract void openerCountChanged(final Level level, final BlockPos pos, final BlockState blockState, int previous, int current); @@ -66,6 +66,7 @@ index baa8b5aba0500981a191626553d66650c7304b88..52737172ccfa0c7c977e4f2fe1db242e ) { + // Paper start - delay open/close callbacks + if (this.delayCallbacks()) { ++ this.maxInteractionRange = Math.max(maxInteractionRange, this.maxInteractionRange); + scheduleRecheck(level, pos, blockState, 1); + return; + }