From f9083053b2aed0be580d1cefc27746938e256e55 Mon Sep 17 00:00:00 2001 From: Intelli Date: Wed, 23 Feb 2022 17:27:47 -0700 Subject: [PATCH] Fixed rolling back double blocks dropping an item in the world --- src/main/java/net/coreprotect/database/Rollback.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/coreprotect/database/Rollback.java b/src/main/java/net/coreprotect/database/Rollback.java index 641a8d9..2c6a876 100644 --- a/src/main/java/net/coreprotect/database/Rollback.java +++ b/src/main/java/net/coreprotect/database/Rollback.java @@ -719,7 +719,7 @@ public class Rollback extends Queue { int worldMinHeight = BukkitAdapter.ADAPTER.getMinHeight(bukkitWorld); if (bisectLocation.getBlockY() >= worldMinHeight && bisectLocation.getBlockY() < worldMaxHeight) { Block bisectBlock = block.getWorld().getBlockAt(bisectLocation); - Util.prepareTypeAndData(chunkChanges, bisectBlock, rowType, null, physics); + Util.prepareTypeAndData(chunkChanges, bisectBlock, rowType, null, false); if (countBlock) { blockCount1++;