diff options
author | Daniel <daniel112092@gmail.com> | 2017-12-11 04:42:42 +0100 |
---|---|---|
committer | Alkalus <draknyte1@hotmail.com> | 2017-12-11 13:42:42 +1000 |
commit | 482ac5d06ccaa1e553f0d8d0345a95f173d41160 (patch) | |
tree | 421c288ed777a8b47af0cfb1c3cd66f36adf3a22 /src/Java/gtPlusPlus/core/util | |
parent | a57202442fec5f72268e622b53fb7dc626f7bdc9 (diff) | |
download | GT5-Unofficial-482ac5d06ccaa1e553f0d8d0345a95f173d41160.tar.gz GT5-Unofficial-482ac5d06ccaa1e553f0d8d0345a95f173d41160.tar.bz2 GT5-Unofficial-482ac5d06ccaa1e553f0d8d0345a95f173d41160.zip |
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.
Diffstat (limited to 'src/Java/gtPlusPlus/core/util')
-rw-r--r-- | src/Java/gtPlusPlus/core/util/nbt/NBTUtils.java | 10 |
1 files changed, 5 insertions, 5 deletions
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 { |