Eliminated the deprecated "getSpeedMultiplier()" and "getEnergyMultiplier()" methods

This commit is contained in:
Aidan C. Brady committed 2014-07-23 10:17:03 -04:00
1 parent 523ec21467
commit 52efdac614
14 files changed
+42 -390

No files matched your search

+2 -2
View File
@@ -45,7 +45,7 @@ public enum Upgrade
public EnumColor getColor()
{
return color;
}
}
public boolean canMultiply()
{
@@ -69,7 +69,7 @@ public enum Upgrade
{
Map<Upgrade, Integer> upgrades = new HashMap<Upgrade, Integer>();
if(nbtTags.hasKey("upgrades"))
if(nbtTags != null && nbtTags.hasKey("upgrades"))
{
NBTTagList list = nbtTags.getTagList("upgrades", NBT.TAG_COMPOUND);