mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-25 12:05:53 +01:00
SPIGOT-5467: Calm down bees that cannot exit hive
This commit is contained in:
parent
75fac431cf
commit
062680a826
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user