Fixed rolling back double blocks dropping an item in the world
This commit is contained in:
parent
3b93046731
commit
f9083053b2
1 changed files with 1 additions and 1 deletions
|
|
@ -719,7 +719,7 @@ public class Rollback extends Queue {
|
||||||
int worldMinHeight = BukkitAdapter.ADAPTER.getMinHeight(bukkitWorld);
|
int worldMinHeight = BukkitAdapter.ADAPTER.getMinHeight(bukkitWorld);
|
||||||
if (bisectLocation.getBlockY() >= worldMinHeight && bisectLocation.getBlockY() < worldMaxHeight) {
|
if (bisectLocation.getBlockY() >= worldMinHeight && bisectLocation.getBlockY() < worldMaxHeight) {
|
||||||
Block bisectBlock = block.getWorld().getBlockAt(bisectLocation);
|
Block bisectBlock = block.getWorld().getBlockAt(bisectLocation);
|
||||||
Util.prepareTypeAndData(chunkChanges, bisectBlock, rowType, null, physics);
|
Util.prepareTypeAndData(chunkChanges, bisectBlock, rowType, null, false);
|
||||||
|
|
||||||
if (countBlock) {
|
if (countBlock) {
|
||||||
blockCount1++;
|
blockCount1++;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue