diff options
author | Tahg <tahgtahv@gmail.com> | 2011-02-08 21:52:06 -0500 |
---|---|---|
committer | Tahg <tahgtahv@gmail.com> | 2011-02-08 21:52:06 -0500 |
commit | 03be05790e39b428e7da8f893b884d5994441fbb (patch) | |
tree | 19865decb1487888afced865962d08a7e2658103 /src/main/java/net/minecraft | |
parent | 43ef3b3037e0c84630c9e6c82c1b9f5772e0f33c (diff) | |
download | craftbukkit-03be05790e39b428e7da8f893b884d5994441fbb.tar craftbukkit-03be05790e39b428e7da8f893b884d5994441fbb.tar.gz craftbukkit-03be05790e39b428e7da8f893b884d5994441fbb.tar.lz craftbukkit-03be05790e39b428e7da8f893b884d5994441fbb.tar.xz craftbukkit-03be05790e39b428e7da8f893b884d5994441fbb.zip |
added method to force an inventory update
Diffstat (limited to 'src/main/java/net/minecraft')
-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 fc93f3a0..3eb7bcc9 100644 --- a/src/main/java/net/minecraft/server/Explosion.java +++ b/src/main/java/net/minecraft/server/Explosion.java @@ -126,7 +126,7 @@ public class Explosion { DamageCause damageType; int damageDone = (int) ((d10 * d10 + d10) / 2.0D * 8.0D * (double) this.f + 1.0D); - if(damagee == null){ + if(damagee == null) { // nothing was hurt } else if (e == null) { // Block explosion // TODO: get the x/y/z of the tnt block? |