Seriously fix natural drops. Fixes BUKKIT-1297 and fixes BUKKIT-1295

This commit is contained in:
feildmaster authored and EvilSeph committed 2012-03-23 07:18:20 -04:00
1 parent ff22e4e341
commit 40e0962735
11 files changed
+27 -35

No files matched your search

@@ -243,10 +243,11 @@ public class Explosion {
this.world.a("smoke", d0, d1, d2, d3, d4, d5);
}
// CraftBukkit - stop explosions from putting out fire
// CraftBukkit start - stop explosions from putting out fire
if (i1 > 0 && i1 != Block.FIRE.id) {
// CraftBukkit
Block.byId[i1].dropNaturally(this.world, j, k, l, this.world.getData(j, k, l), event.getYield(), 0);
Block.byId[i1].doActualDrop(this.world, j, k, l);
// CraftBukkit end
this.world.setTypeId(j, k, l, 0);
Block.byId[i1].wasExploded(this.world, j, k, l);
}