From 482ac5d06ccaa1e553f0d8d0345a95f173d41160 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 11 Dec 2017 04:42:42 +0100 Subject: Merge GTNH features and changes (#160) + GTNH full compat mode. + Added boiler config, recipes changes and minor tweaks. $ Fix nbtutuls. $ Tree farm fixes. % Pipe and cable rendering tweaks. --- src/Java/gtPlusPlus/core/util/nbt/NBTUtils.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/Java/gtPlusPlus/core/util') diff --git a/src/Java/gtPlusPlus/core/util/nbt/NBTUtils.java b/src/Java/gtPlusPlus/core/util/nbt/NBTUtils.java index 6c15f3a189..31d00efc94 100644 --- a/src/Java/gtPlusPlus/core/util/nbt/NBTUtils.java +++ b/src/Java/gtPlusPlus/core/util/nbt/NBTUtils.java @@ -413,19 +413,19 @@ public class NBTUtils { createStringTagCompound(aStack, "mEntityTag", (String) e.getKey(), (String) e.getValue()); } else if (e.getValue().getClass() == Boolean.class || e.getValue().getClass() == boolean.class){ - createBooleanTagCompound(aStack, "mEntityTag", (String) e.getKey(), (boolean) e.getValue()); + createBooleanTagCompound(aStack, "mEntityTag", (String) e.getKey(), (Boolean) e.getValue()); } else if (e.getValue().getClass() == Integer.class || e.getValue().getClass() == int.class){ - createIntegerTagCompound(aStack, "mEntityTag", (String) e.getKey(), (int) e.getValue()); + createIntegerTagCompound(aStack, "mEntityTag", (String) e.getKey(), (Integer) e.getValue()); } else if (e.getValue().getClass() == Double.class || e.getValue().getClass() == double.class){ - createDoubleTagCompound(aStack, "mEntityTag", (String) e.getKey(), (double) e.getValue()); + createDoubleTagCompound(aStack, "mEntityTag", (String) e.getKey(), (Double) e.getValue()); } else if (e.getValue().getClass() == Long.class || e.getValue().getClass() == long.class){ - createLongTagCompound(aStack, "mEntityTag", (String) e.getKey(), (long) e.getValue()); + createLongTagCompound(aStack, "mEntityTag", (String) e.getKey(), (Long) e.getValue()); } else if (e.getValue().getClass() == Float.class || e.getValue().getClass() == float.class){ - createFloatTagCompound(aStack, "mEntityTag", (String) e.getKey(), (float) e.getValue()); + createFloatTagCompound(aStack, "mEntityTag", (String) e.getKey(), (Float) e.getValue()); } else { -- cgit