SPIGOT-5467: Calm down bees that cannot exit hive

Dieser Commit ist enthalten in:
md_5 2019-12-23 12:20:35 +11:00
Ursprung 75fac431cf
Commit 062680a826

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++;
}