mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-24 22:14:45 +00:00
Fixed a crash when picking up a flower that was removed. Closes #1896
This commit is contained in:
1 parent
9fdca60e8b
commit
4c3f48feb1
1 file changed
+1
-1
@@ -96,7 +96,7 @@ public class ItemBlockSpecialFlower extends ItemBlockMod implements IRecipeKeyPr
|
||||
}
|
||||
|
||||
String mod = BotaniaAPI.subTileMods.get(type);
|
||||
if(!mod.equals(LibMisc.MOD_ID))
|
||||
if(mod != null && !mod.equals(LibMisc.MOD_ID))
|
||||
stacks.add(TextFormatting.ITALIC + "[" + mod + "]");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user