mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-20 23:03:48 -07:00
Update to Minecraft 1.13.1
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
|
||||
private static final DataWatcherObject<Integer> a = DataWatcher.a(EntityWither.class, DataWatcherRegistry.b);
|
||||
@@ -181,13 +187,38 @@
|
||||
if (this.dA() > 0) {
|
||||
i = this.dA() - 1;
|
||||
if (this.dz() > 0) {
|
||||
i = this.dz() - 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);
|
||||
@@ -48,7 +48,7 @@
|
||||
+ // CraftBukkit end
|
||||
}
|
||||
|
||||
this.e(i);
|
||||
this.d(i);
|
||||
if (this.ticksLived % 10 == 0) {
|
||||
- this.heal(10.0F);
|
||||
+ this.heal(10.0F, EntityRegainHealthEvent.RegainReason.WITHER_SPAWN); // CraftBukkit
|
||||
|
Reference in New Issue
Block a user