Skip to content

Commit

Permalink
Fix silicon bee crash
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss committed Dec 15, 2023
1 parent 204b465 commit 6e39d84
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,8 @@ public enum GTBeeDefinition implements IBeeDefinition {
AlleleHelper.getInstance().set(template, TOLERATES_RAIN, true);
},
dis -> {
if (Loader.isModLoaded(GTValues.MODID_MB)) {
if (Loader.isModLoaded(GTValues.MODID_MB) && Loader.isModLoaded(GTValues.MODID_APPENG)) {
// MB Skystone bee is only registered if AE2 is also active
dis.registerMutation(IRON, ForestryUtil.getSpecies(GTValues.MODID_MB, "AESkystone"), 17);
} else {
dis.registerMutation(IRON, BeeDefinition.IMPERIAL, 17);
Expand Down

0 comments on commit 6e39d84

Please sign in to comment.