Now I am become Death, the destroyer of newlines

This commit is contained in:
Zach Brown 2017-01-14 02:12:59 -06:00
parent 28c0441d02
commit c141e3adf3
No known key found for this signature in database
GPG Key ID: CC9DA35FC5450B76

View File

@ -23,7 +23,7 @@ index 193dadf..ee177b2 100644
world.getServer().getPluginManager().callEvent(event); world.getServer().getPluginManager().callEvent(event);
if (event.isCancelled()) { if (event.isCancelled()) {
@@ -2343,9 +2344,22 @@ public abstract class EntityLiving extends Entity { @@ -2343,9 +2344,21 @@ public abstract class EntityLiving extends Entity {
itemstack = this.activeItem.a(this.world, this); itemstack = this.activeItem.a(this.world, this);
} }
@ -36,7 +36,6 @@ index 193dadf..ee177b2 100644
+ +
this.a(this.cz(), itemstack); this.a(this.cz(), itemstack);
// CraftBukkit end // CraftBukkit end
+
this.cF(); this.cF();
+ +
+ // Paper start - if the replacement is anything but the default, update the client inventory + // Paper start - if the replacement is anything but the default, update the client inventory