Drop Leads from nether portals - Fixes #3226
This commit is contained in:
@@ -47,6 +47,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
if (!this.world.isClientSide && !this.dead) {
|
if (!this.world.isClientSide && !this.dead) {
|
||||||
this.world.getMethodProfiler().enter("changeDimension");
|
this.world.getMethodProfiler().enter("changeDimension");
|
||||||
MinecraftServer minecraftserver = this.getMinecraftServer();
|
MinecraftServer minecraftserver = this.getMinecraftServer();
|
||||||
|
@@ -0,0 +0,0 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
||||||
|
entity.bukkitEntity = this.getBukkitEntity();
|
||||||
|
|
||||||
|
if (this instanceof EntityInsentient) {
|
||||||
|
- ((EntityInsentient)this).unleash(true, false); // Unleash to prevent duping of leads.
|
||||||
|
+ ((EntityInsentient)this).unleash(true, true); // Paper drop lead
|
||||||
|
}
|
||||||
|
// CraftBukkit end
|
||||||
|
}
|
||||||
@@ -0,0 +0,0 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
@@ -0,0 +0,0 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user