Archiviert
13
0

Readd missed diff in EntityEnderCrystal

Dieser Commit ist enthalten in:
Thinkofdeath 2014-12-05 23:42:08 +00:00
Ursprung cc2b09de09
Commit adc129ab3d

Datei anzeigen

@ -1,5 +1,5 @@
--- ../work/decompile-8eb82bde//net/minecraft/server/EntityEnderCrystal.java 2014-11-28 17:43:43.081707435 +0000
+++ src/main/java/net/minecraft/server/EntityEnderCrystal.java 2014-11-28 17:38:19.000000000 +0000
--- ../work/decompile-8eb82bde//net/minecraft/server/EntityEnderCrystal.java 2014-12-05 23:41:59.577572184 +0000
+++ src/main/java/net/minecraft/server/EntityEnderCrystal.java 2014-12-05 23:41:54.069572306 +0000
@@ -1,5 +1,10 @@
package net.minecraft.server;
@ -24,7 +24,17 @@
}
}
@@ -54,7 +63,15 @@
@@ -50,11 +59,25 @@
return false;
} else {
if (!this.dead && !this.world.isStatic) {
+ // CraftBukkit start - All non-living entities need this
+ if (CraftEventFactory.handleNonLivingEntityDamageEvent(this, damagesource, f)) {
+ return false;
+ }
+ // CraftBukkit end
+
this.b = 0;
if (this.b <= 0) {
this.die();
if (!this.world.isStatic) {