From 780e933985ef5789c586c6c17e2452475958a5b8 Mon Sep 17 00:00:00 2001 From: Arthur Uzulin Date: Mon, 20 Jan 2014 21:57:08 +1100 Subject: [PATCH] Update BlockLandmine.java --- src/main/java/tconstruct/blocks/BlockLandmine.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/tconstruct/blocks/BlockLandmine.java b/src/main/java/tconstruct/blocks/BlockLandmine.java index a9fb7905df6..30786c3b49e 100644 --- a/src/main/java/tconstruct/blocks/BlockLandmine.java +++ b/src/main/java/tconstruct/blocks/BlockLandmine.java @@ -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(); } } }