mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-25 22:44:23 +00:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user