mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-25 14:34:28 +00:00
#2203 Clean up baubles code, but I don't think it will affect anything
This commit is contained in:
1 parent
06528517fd
commit
f95895a38d
10 files changed
+62
-74
No files matched your search
@@ -11,7 +11,6 @@ import net.minecraft.util.ChatComponentTranslation;
|
||||
import org.lwjgl.input.Keyboard;
|
||||
|
||||
import static crazypants.enderio.EnderIO.itemMagnet;
|
||||
|
||||
import cpw.mods.fml.client.registry.ClientRegistry;
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
@@ -29,7 +28,7 @@ import crazypants.enderio.item.darksteel.SoundDetectorUpgrade;
|
||||
import crazypants.enderio.item.darksteel.SpeedUpgrade;
|
||||
import crazypants.enderio.network.PacketHandler;
|
||||
import crazypants.enderio.thaumcraft.GogglesOfRevealingUpgrade;
|
||||
import crazypants.enderio.tool.BaublesTool;
|
||||
import crazypants.util.BaublesUtil;
|
||||
import crazypants.util.Lang;
|
||||
|
||||
public class KeyTracker {
|
||||
@@ -110,7 +109,7 @@ public class KeyTracker {
|
||||
}
|
||||
}
|
||||
|
||||
IInventory baubles = BaublesTool.getInstance().getBaubles(player);
|
||||
IInventory baubles = BaublesUtil.instance().getBaubles(player);
|
||||
if(baubles != null) {
|
||||
for (int i = 0; i < baubles.getSizeInventory(); i++) {
|
||||
ItemStack stack = baubles.getStackInSlot(i);
|
||||
|
||||
Reference in new issue
Block a user