Update BlockLandmine.java

This commit is contained in:
Arthur Uzulin committed 2014-01-20 21:57:08 +11:00
1 parent 15f5b8408b
commit 780e933985
1 file changed
+1 -2
@@ -72,8 +72,7 @@ public class BlockLandmine extends BlockContainer
{
if (te.getStackInSlot(3) != null && te.getStackInSlot(3).getItem() instanceof ItemBlock)
{
//Leave this for now and hope Lex accepts the pull request to add a get method, otherwise use an AT to make it public.
return ((ItemBlock)te.getStackInSlot(3).getItem()).field_150939_a.func_149750_m();
return (BlockUtils.getBlockFromItem(te.getStackInSlot(3).getItem())).func_149750_m();
}
}
}