mirror of
https://github.com/GTNewHorizons/ThaumicTinkerer.git
synced 2026-11-28 16:06:07 +00:00
Fixed aspectalyzer gui crash. Closes #129
This commit is contained in:
1 parent
5ca4786696
commit
d9694bd087
1 file changed
+1
-1
@@ -69,7 +69,7 @@ public class GuiAspectAnalyzer extends GuiContainer {
|
||||
String h = ScanManager.generateItemHash(stack.itemID, stack.getItemDamage());
|
||||
|
||||
List<String> list = (List) Thaumcraft.proxy.getScannedObjects().get(ClientHelper.clientPlayer().username);
|
||||
if (list != null && list.contains("@" + h) || list.contains("#" + h)) {
|
||||
if (h != null && list != null && (list.contains("@" + h) || list.contains("#" + h))) {
|
||||
AspectList tags = ThaumcraftCraftingManager.getObjectTags(stack);
|
||||
tags = ThaumcraftCraftingManager.getBonusTags(stack, tags);
|
||||
if (tags != null) {
|
||||
|
||||
Reference in new issue
Block a user