diff options
author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2018-05-27 22:30:15 +1000 |
---|---|---|
committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2018-05-27 22:30:15 +1000 |
commit | b5d8a36adf5b886f681574338586b04e30cf55d6 (patch) | |
tree | 2cdf1f6366b807e790eb9e4a9a06081006d3f7dc /src/Java/gtPlusPlus/xmod/eio/handler/HandlerTooltip_EIO.java | |
parent | 64fd0818f6d9351166593f1d14152812c45aa80a (diff) | |
download | GT5-Unofficial-b5d8a36adf5b886f681574338586b04e30cf55d6.tar.gz GT5-Unofficial-b5d8a36adf5b886f681574338586b04e30cf55d6.tar.bz2 GT5-Unofficial-b5d8a36adf5b886f681574338586b04e30cf55d6.zip |
$ Tried to fix console spam for invalid tooltip handling.
$ Fixed NEI handler not showing % chances for recipes. (maybe?)
$ Fixed Trinium not working correctly in GTNH.
$ Fixed invalid cape lookups.
% Tweaked recipe for Max tier Redox cells.
% Tweaked name of Control Circuit.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/eio/handler/HandlerTooltip_EIO.java')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/eio/handler/HandlerTooltip_EIO.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/xmod/eio/handler/HandlerTooltip_EIO.java b/src/Java/gtPlusPlus/xmod/eio/handler/HandlerTooltip_EIO.java index c00eb5254a..c266d55cac 100644 --- a/src/Java/gtPlusPlus/xmod/eio/handler/HandlerTooltip_EIO.java +++ b/src/Java/gtPlusPlus/xmod/eio/handler/HandlerTooltip_EIO.java @@ -133,7 +133,7 @@ public class HandlerTooltip_EIO { if (!BlockEventHandler.blockLimestone.isEmpty()) { for (ItemStack h : BlockEventHandler.blockLimestone) { if (h != null && Block.getBlockFromItem(h.getItem()) == Block.getBlockFromItem(event.itemStack.getItem())) { - if (!ItemUtils.getModId(h).toLowerCase().contains("biomesoplenty")) { + if (ItemUtils.getModId(h) != null && !ItemUtils.getModId(h).toLowerCase().contains("biomesoplenty")) { event.toolTip.add("May contain Fluorite Ore"); } } @@ -142,7 +142,7 @@ public class HandlerTooltip_EIO { if (!BlockEventHandler.oreLimestone.isEmpty()) { for (ItemStack h : BlockEventHandler.oreLimestone) { if (h != null && Block.getBlockFromItem(h.getItem()) == Block.getBlockFromItem(event.itemStack.getItem())) { - if (!ItemUtils.getModId(h).toLowerCase().contains("biomesoplenty")) { + if (ItemUtils.getModId(h) != null && !ItemUtils.getModId(h).toLowerCase().contains("biomesoplenty")) { event.toolTip.add("May contain Fluorite Ore"); } } |