diff options
author | t00thpick1 <t00thpick1dirko@gmail.com> | 2014-06-24 12:17:18 -0400 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2014-06-24 18:24:29 -0500 |
commit | 83e934b3bd70e428baecec8096969d7717f26bc4 (patch) | |
tree | 01ed60da1b034297c59308d81d6e8a6515b7665f /src/main/java/net/minecraft/server/EntityFireball.java | |
parent | 9099e48e74dc2c7d97b67c1a7e72afc64f5ac0dd (diff) | |
download | craftbukkit-83e934b3bd70e428baecec8096969d7717f26bc4.tar craftbukkit-83e934b3bd70e428baecec8096969d7717f26bc4.tar.gz craftbukkit-83e934b3bd70e428baecec8096969d7717f26bc4.tar.lz craftbukkit-83e934b3bd70e428baecec8096969d7717f26bc4.tar.xz craftbukkit-83e934b3bd70e428baecec8096969d7717f26bc4.zip |
[Bleeding] Fix checks for non-living entities. Fixes BUKKIT-5667
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityFireball.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityFireball.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityFireball.java b/src/main/java/net/minecraft/server/EntityFireball.java index 937882b3..9cbcfc9b 100644 --- a/src/main/java/net/minecraft/server/EntityFireball.java +++ b/src/main/java/net/minecraft/server/EntityFireball.java @@ -235,7 +235,7 @@ public abstract class EntityFireball extends Entity { this.P(); if (damagesource.getEntity() != null) { // CraftBukkit start - if (!CraftEventFactory.handleNonLivingEntityDamageEvent(this, damagesource, f)) { + if (CraftEventFactory.handleNonLivingEntityDamageEvent(this, damagesource, f)) { return false; } // CraftBukkit end |