mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 19:29:17 +00:00
Swapping out deprecated method for non-deprecated call.
This commit is contained in:
1 parent
4ab3e7ddb4
commit
fafee34803
2 files changed
+2
-2
No files matched your search
@@ -55,7 +55,7 @@ public abstract class AlleleEffectThrottled extends Allele implements IAlleleBee
|
||||
|
||||
public boolean isHalted(IEffectData storedData, IBeeHousing housing) {
|
||||
|
||||
if (requiresWorkingQueen && housing.getErrorOrdinal() != EnumErrorCode.OK.ordinal())
|
||||
if (requiresWorkingQueen && housing.getErrorState() != EnumErrorCode.OK)
|
||||
return true;
|
||||
|
||||
int throttle = storedData.getInteger(0);
|
||||
|
||||
Reference in new issue
Block a user