fixed buttons, plates

added yield to explosion
added event for chunk unloading
This commit is contained in:
Tahg
2011-02-19 10:55:47 -05:00
parent d4b67c5549
commit ca4076077e
4 changed files with 39 additions and 13 deletions

View File

@@ -240,7 +240,7 @@ public class Explosion {
}
if (i1 > 0) {
Block.byId[i1].a(this.i, j, k, l, this.i.getData(j, k, l), 0.3F);
Block.byId[i1].a(this.i, j, k, l, this.i.getData(j, k, l), event.getYield()); //Modified by Craftbukkit
this.i.e(j, k, l, 0);
Block.byId[i1].a_(this.i, j, k, l);
}