Fixed rolling back double blocks dropping an item in the world

This commit is contained in:
Intelli 2022-02-23 17:27:47 -07:00
parent 3b93046731
commit f9083053b2

View File

@ -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++;