mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2024-12-28 17:47:41 +01:00
Fixed rolling back double blocks dropping an item in the world
This commit is contained in:
parent
3b93046731
commit
f9083053b2
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user