#2203 Clean up baubles code, but I don't think it will affect anything

This commit is contained in:
tterrag1098 committed 2015-04-03 00:08:20 -04:00
1 parent 06528517fd
commit f95895a38d
10 files changed
+62 -74

No files matched your search

@@ -17,8 +17,7 @@ import cpw.mods.fml.relauncher.Side;
import crazypants.enderio.config.Config;
import crazypants.enderio.item.PacketMagnetState.SlotType;
import crazypants.enderio.network.PacketHandler;
import crazypants.enderio.tool.BaublesTool;
import crazypants.util.BaublesUtil;
import static crazypants.enderio.EnderIO.itemMagnet;
public class MagnetController implements IEntitySelector {
@@ -111,7 +110,7 @@ public class MagnetController implements IEntitySelector {
case ARMOR:
return;
case BAUBLES:
baubles = BaublesTool.getInstance().getBaubles(player);
baubles = BaublesUtil.instance().getBaubles(player);
if (baubles != null) {
stack = baubles.getStackInSlot(slot);
}