Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
SPIGOT-1875: Broken leashes not dropping
Dieser Commit ist enthalten in:
Ursprung
7d330bc9f3
Commit
7d73fbba6e
@ -136,7 +136,17 @@
|
|||||||
this.unleash(true, true);
|
this.unleash(true, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1037,6 +1102,7 @@
|
@@ -967,7 +1032,9 @@
|
||||||
|
this.bC = false;
|
||||||
|
this.leashHolder = null;
|
||||||
|
if (!this.world.isClientSide && flag1) {
|
||||||
|
+ this.forceDrops = true; // CraftBukkit
|
||||||
|
this.a(Items.LEAD, 1);
|
||||||
|
+ this.forceDrops = false; // CraftBukkit
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!this.world.isClientSide && flag && this.world instanceof WorldServer) {
|
||||||
|
@@ -1037,6 +1104,7 @@
|
||||||
|
|
||||||
this.leashHolder = entityleash;
|
this.leashHolder = entityleash;
|
||||||
} else {
|
} else {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren