diff options
| author | The Dark Knight <sor1n@users.noreply.github.com> | 2015-08-26 01:28:32 +0200 |
|---|---|---|
| committer | The Dark Knight <sor1n@users.noreply.github.com> | 2015-08-26 01:28:32 +0200 |
| commit | d0abbc5bda63dc777c660b703ffcfa4a81a41e1a (patch) | |
| tree | d3651dc8763d7df1d50e8e060bc3ac69589c802f | |
| parent | 45e3765b7f2ea87c33cd22900baabb31e8e1d87c (diff) | |
Smelt anything
Fuck it, fun for everybody!
| -rw-r--r-- | src/main/java/darkknight/jewelrycraft/block/BlockSmelter.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/darkknight/jewelrycraft/block/BlockSmelter.java b/src/main/java/darkknight/jewelrycraft/block/BlockSmelter.java index cd24deb..fe48dd0 100644 --- a/src/main/java/darkknight/jewelrycraft/block/BlockSmelter.java +++ b/src/main/java/darkknight/jewelrycraft/block/BlockSmelter.java @@ -97,11 +97,7 @@ public class BlockSmelter extends BlockContainer { te.isDirty = true;
}
if (item != null && item.getItem() != null && !(item.getItem() instanceof ItemMoltenMetalBucket)) {
- int index = -1;
- for (int a = 0; a < JewelrycraftUtil.jamcraftPlayers.size(); a++)
- if (entityPlayer.getUniqueID().toString().equals(JewelrycraftUtil.jamcraftPlayers.get(a))) index = a;
- if (entityPlayer.capabilities.isCreativeMode) index = 1;
- boolean canPlace = item != null && (JewelrycraftUtil.isMetal(item) || JewelrycraftUtil.isOre(item) || index >= 0 || JewelryNBT.ingot(item) != null);
+ boolean canPlace = item != null;
boolean isOre = false, oreCoincidesWithMetal = false, itemCoincidesWithMetal = false, itemCoincidesWithMoltenMetal = false, overflow = false;
isOre = JewelrycraftUtil.isOre(item);
if (te.metal != null && te.metal.getItem() != null) {
|
