mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 23:03:18 +00:00
fixed NODRONE check (was reversed)
This commit is contained in:
1 parent
54018d8d6e
commit
7ce9a0c532
1 file changed
+2
-2
@@ -128,9 +128,9 @@ public class BeekeepingLogic implements IBeekeepingLogic {
|
||||
// Princess available? Try to breed!
|
||||
if (ForestryItem.beePrincessGE.isItemEqual(housing.getQueen())) {
|
||||
if (ForestryItem.beeDroneGE.isItemEqual(housing.getDrone()))
|
||||
housing.setErrorState(EnumErrorCode.NODRONE.ordinal());
|
||||
else
|
||||
housing.setErrorState(EnumErrorCode.OK.ordinal());
|
||||
else
|
||||
housing.setErrorState(EnumErrorCode.NODRONE.ordinal());
|
||||
tickBreed();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user