From f357e3a1753c7c542d48bb217d8a2545cb9544c4 Mon Sep 17 00:00:00 2001 From: Jordan Byrne Date: Mon, 8 Jan 2018 19:58:35 +1000 Subject: + Added an interface to make tooltips on tile entities more flexible. + Actually added the recipe for the Mining Explosives this time. + Attempted to add a framework for packet handling. --- src/Java/gtPlusPlus/core/util/item/ItemUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Java/gtPlusPlus/core/util/item') diff --git a/src/Java/gtPlusPlus/core/util/item/ItemUtils.java b/src/Java/gtPlusPlus/core/util/item/ItemUtils.java index be75de893a..3d21a845bc 100644 --- a/src/Java/gtPlusPlus/core/util/item/ItemUtils.java +++ b/src/Java/gtPlusPlus/core/util/item/ItemUtils.java @@ -51,7 +51,7 @@ public class ItemUtils { public static ItemStack getSimpleStack(final Item x, final int i){ try { final ItemStack r = new ItemStack(x, i); - return r; + return r.copy(); } catch(final Throwable e){ return null; } -- cgit