@@ -19,7 +19,22 @@
|
||||
Item item = this.getDropType(iblockdata, world.random, i);
|
||||
|
||||
if (item != Items.a) {
|
||||
@@ -923,7 +924,7 @@
|
||||
@@ -364,7 +365,13 @@
|
||||
EntityItem entityitem = new EntityItem(world, (double) blockposition.getX() + d0, (double) blockposition.getY() + d1, (double) blockposition.getZ() + d2, itemstack);
|
||||
|
||||
entityitem.q();
|
||||
- world.addEntity(entityitem);
|
||||
+ // CraftBukkit start
|
||||
+ if (world.captureDrops != null) {
|
||||
+ world.captureDrops.add(entityitem);
|
||||
+ } else {
|
||||
+ world.addEntity(entityitem);
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
}
|
||||
}
|
||||
|
||||
@@ -923,7 +930,7 @@
|
||||
|
||||
if (hashset.contains(block16)) {
|
||||
for (int i = 0; i < 15; ++i) {
|
||||
@@ -28,7 +43,7 @@
|
||||
|
||||
Block.REGISTRY_ID.a(block16.fromLegacyData(i), j);
|
||||
}
|
||||
@@ -932,7 +933,7 @@
|
||||
@@ -932,7 +939,7 @@
|
||||
|
||||
while (unmodifiableiterator.hasNext()) {
|
||||
IBlockData iblockdata = (IBlockData) unmodifiableiterator.next();
|
||||
@@ -37,7 +52,7 @@
|
||||
|
||||
Block.REGISTRY_ID.a(iblockdata, k);
|
||||
}
|
||||
@@ -941,6 +942,12 @@
|
||||
@@ -941,6 +948,12 @@
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user