properly override push/knockback methods
This prevent the creaking from being pushed with knockback enchant when it can't move
This commit is contained in:
@@ -65,7 +65,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
|
||||
- return super.hurtServer(world, source, amount);
|
||||
+ // Paper start - cancellable death events
|
||||
+ //return super.hurt(world, source, amount);
|
||||
+ // return super.hurtServer(world, source, amount);
|
||||
+ this.queueHealthUpdatePacket = true;
|
||||
+ boolean damaged = super.hurtServer(world, source, amount);
|
||||
+ this.queueHealthUpdatePacket = false;
|
||||
|
||||
Reference in New Issue
Block a user