mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2024-11-24 12:16:36 +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