Skip to content

Commit

Permalink
Update BlockLandmine.java
Browse files Browse the repository at this point in the history
  • Loading branch information
fuj1n committed Jan 20, 2014
1 parent 15f5b84 commit 780e933
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/tconstruct/blocks/BlockLandmine.java
Expand Up @@ -72,8 +72,7 @@ public int getLightValue (IBlockAccess world, int x, int y, int z)
{
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();
}
}
}
Expand Down

0 comments on commit 780e933

Please sign in to comment.