mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
TContent refactor Part 1
This commit is contained in:
1 parent
241bfcf0d5
commit
1a74c0768f
77 files changed
+1884
-5647
No files matched your search
@@ -3,13 +3,13 @@ package tconstruct.client.tabs;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import tconstruct.client.TControls;
|
||||
import tconstruct.client.TProxyClient;
|
||||
import tconstruct.common.TContent;
|
||||
import tconstruct.common.TRepo;
|
||||
|
||||
public class InventoryTabKnapsack extends AbstractTab
|
||||
{
|
||||
public InventoryTabKnapsack()
|
||||
{
|
||||
super(0, 0, 0, new ItemStack(TContent.knapsack));
|
||||
super(0, 0, 0, new ItemStack(TRepo.knapsack));
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -21,6 +21,6 @@ public class InventoryTabKnapsack extends AbstractTab
|
||||
@Override
|
||||
public boolean shouldAddToList ()
|
||||
{
|
||||
return TProxyClient.armorExtended.inventory[2] != null && TProxyClient.armorExtended.inventory[2].getItem() == TContent.knapsack;
|
||||
return TProxyClient.armorExtended.inventory[2] != null && TProxyClient.armorExtended.inventory[2].getItem() == TRepo.knapsack;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user