mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-27 15:33:06 +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
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user