13
0
geforkt von Mirrors/Paper

SPIGOT-5467: Calm down bees that cannot exit hive

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2019-12-23 12:20:35 +11:00
Ursprung 6f41e1d3c2
Commit 379b64e091

Datei anzeigen

@ -9,3 +9,15 @@
}
} else {
return false;
@@ -221,6 +221,11 @@
if (this.a(iblockdata, nbttagcompound, (List) null, tileentitybeehive_releasestatus)) {
iterator.remove();
}
+ // CraftBukkit start
+ else {
+ tileentitybeehive_a.b = tileentitybeehive_a.c / 2; // Not strictly Vanilla behaviour in cases where bees cannot spawn but still reasonable
+ }
+ // CraftBukkit end
} else {
tileentitybeehive_a.b++;
}