The return of achievements

- Re-added achievements
- Organised all imports (seemed all over the place)
- Formatted all code (seemed very combined, used the TinkerStyle)
This commit is contained in:
Arthur Uzulin committed 2014-09-09 18:30:15 +10:00
1 parent ae2d8d6e4d
commit 80efde613a
419 files changed
+2406 -4144

No files matched your search

@@ -1,8 +1,8 @@
package tconstruct.modifiers.accessory;
import tconstruct.library.modifier.ItemModifier;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import tconstruct.library.modifier.ItemModifier;
/* Adds a boolean NBTTag */
@@ -18,7 +18,7 @@ public class GloveClimb extends ItemModifier
protected boolean canModify (ItemStack tool, ItemStack[] input)
{
NBTTagCompound tags = tool.getTagCompound().getCompoundTag("TinkerAccessory");
return tags.getInteger("Modifiers") >= 3 && !tags.getBoolean(key);
return tags.getInteger("Modifiers") >= 3 && !tags.getBoolean(key);
}
@Override