mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-05 01:10:19 -05:00
SPIGOT-5467: Calm down bees that cannot exit hive
This commit is contained in:
1 parent
75fac431cf
commit
062680a826
1 file changed
+12
@@ -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++;
|
||||
}
|
||||
Reference in new issue
Block a user