Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 21:40:06 +01:00
SPIGOT-5571: Beehive MaxEntities cannot be set back to 3
Dieser Commit ist enthalten in:
Ursprung
708be69539
Commit
880190573c
@ -118,15 +118,11 @@
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -275,6 +311,11 @@
|
||||
@@ -275,6 +311,7 @@
|
||||
if (this.x()) {
|
||||
nbttagcompound.set("FlowerPos", GameProfileSerializer.a(this.flowerPos));
|
||||
}
|
||||
+ // CraftBukkit start
|
||||
+ if (this.maxBees != 3) {
|
||||
+ nbttagcompound.setInt("Bukkit.MaxEntities", this.maxBees);
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
+ nbttagcompound.setInt("Bukkit.MaxEntities", this.maxBees); // CraftBukkit
|
||||
|
||||
return nbttagcompound;
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren