mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 23:03:01 +00:00
Major 1.7 work, down to a little more than 500 errors
This commit is contained in:
1 parent
1d22ddadc3
commit
6f69c6d7b4
78 files changed
+728
-740
No files matched your search
@@ -72,13 +72,13 @@ public class ItemBlockCardboardBox extends ItemBlock
|
||||
{
|
||||
if(!player.isSneaking() && !world.isAirBlock(x, y, z) && stack.getItemDamage() == 0)
|
||||
{
|
||||
int id = world.getBlockId(x, y, z);
|
||||
Block block = world.getBlock(x, y, z);
|
||||
int meta = world.getBlockMetadata(x, y, z);
|
||||
|
||||
if(!world.isRemote && MekanismAPI.isBlockCompatible(id, meta))
|
||||
if(!world.isRemote && MekanismAPI.isBlockCompatible(id, meta))//TODO
|
||||
{
|
||||
BlockData data = new BlockData();
|
||||
data.id = id;
|
||||
data.block = block;
|
||||
data.meta = meta;
|
||||
|
||||
isMonitoring = true;
|
||||
@@ -97,7 +97,7 @@ public class ItemBlockCardboardBox extends ItemBlock
|
||||
stack.stackSize--;
|
||||
}
|
||||
|
||||
world.setBlock(x, y, z, Mekanism.cardboardBoxID, 1, 3);
|
||||
world.setBlock(x, y, z, Mekanism.CardboardBox, 1, 3);
|
||||
|
||||
isMonitoring = false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user