summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityWither.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityWither.patch')
-rw-r--r--nms-patches/EntityWither.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/EntityWither.patch b/nms-patches/EntityWither.patch
index 909781c9..c6a4a11e 100644
--- a/nms-patches/EntityWither.patch
+++ b/nms-patches/EntityWither.patch
@@ -14,8 +14,8 @@
private static final DataWatcherObject<Integer> a = DataWatcher.a(EntityWither.class, DataWatcherRegistry.b);
@@ -192,13 +198,38 @@
- if (this.dk() > 0) {
- i = this.dk() - 1;
+ if (this.dm() > 0) {
+ i = this.dm() - 1;
if (i <= 0) {
- this.world.createExplosion(this, this.locX, this.locY + (double) this.getHeadHeight(), this.locZ, 7.0F, false, this.world.getGameRules().getBoolean("mobGriefing"));
- this.world.a(1023, new BlockPosition(this), 0);