Update CraftBukkit to Minecraft 1.7.5

By: Nate Mortensen <nate.richard.mortensen@gmail.com>
This commit is contained in:
CraftBukkit/Spigot
2014-03-20 22:26:30 -06:00
parent d6c0b864b8
commit e6de9aaa17
17 changed files with 78 additions and 76 deletions

View File

@@ -393,8 +393,7 @@ public class CraftEventFactory {
}
public static EntityDamageEvent handleEntityDamageEvent(Entity entity, DamageSource source, float damage) {
// Should be isExplosion
if (source.c()) {
if (source.isExplosion()) {
return null;
} else if (source instanceof EntityDamageSource) {
Entity damager = source.getEntity();