diff options
author | Tahg <tahgtahv@gmail.com> | 2011-02-19 10:55:47 -0500 |
---|---|---|
committer | Tahg <tahgtahv@gmail.com> | 2011-02-19 23:44:35 -0500 |
commit | ca4076077eb8514b2e5bbeb315058b12169e7b81 (patch) | |
tree | d7894677e71eb0a148c93db28ec6580cf6a61bf0 /src/main/java/net/minecraft/server/Explosion.java | |
parent | d4b67c5549dec7c27b39a27c81299e218b79826f (diff) | |
download | craftbukkit-ca4076077eb8514b2e5bbeb315058b12169e7b81.tar craftbukkit-ca4076077eb8514b2e5bbeb315058b12169e7b81.tar.gz craftbukkit-ca4076077eb8514b2e5bbeb315058b12169e7b81.tar.lz craftbukkit-ca4076077eb8514b2e5bbeb315058b12169e7b81.tar.xz craftbukkit-ca4076077eb8514b2e5bbeb315058b12169e7b81.zip |
fixed buttons, plates
added yield to explosion
added event for chunk unloading
Diffstat (limited to 'src/main/java/net/minecraft/server/Explosion.java')
-rw-r--r-- | src/main/java/net/minecraft/server/Explosion.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/Explosion.java b/src/main/java/net/minecraft/server/Explosion.java index 3eb7bcc9..c59cebf1 100644 --- a/src/main/java/net/minecraft/server/Explosion.java +++ b/src/main/java/net/minecraft/server/Explosion.java @@ -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); } |