readd beacon effect cause
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
- this.setHealth(this.getMaxHealth());
|
||||
+ this.craftAttributes = new CraftAttributeMap(this.attributes); // CraftBukkit
|
||||
+ // CraftBukkit - this.setHealth(this.getMaxHealth()) inlined and simplified to skip the instanceof check for Player, as getBukkitEntity() is not initialized in constructor
|
||||
+ this.entityData.set(LivingEntity.DATA_HEALTH_ID, (float) this.getAttribute(Attributes.MAX_HEALTH).getValue());
|
||||
+ this.entityData.set(LivingEntity.DATA_HEALTH_ID, this.getMaxHealth());
|
||||
this.blocksBuilding = true;
|
||||
this.rotA = (float)((Math.random() + 1.0) * 0.01F);
|
||||
this.reapplyPosition();
|
||||
|
||||
Reference in New Issue
Block a user