Merge pull request #2253 from simon-i1-h/patch-1

[1.8.8] Fixed edge case where position dependent light would not update.
This commit is contained in:
LexManos committed 2015-12-09 20:07:50 -08:00
commit 3f163fd41e
1 file changed
+1 -1
@@ -107,7 +107,7 @@
Block block1 = iblockstate.func_177230_c();
- if (block.func_149717_k() != block1.func_149717_k() || block.func_149750_m() != block1.func_149750_m())
+ if (block.func_149717_k() != block1.func_149717_k() || block.getLightValue(this, p_180501_1_) != block1.func_149750_m())
+ if (block.func_149717_k() != block1.func_149717_k() || block.getLightValue(this, p_180501_1_) != oldLight)
{
this.field_72984_F.func_76320_a("checkLight");
this.func_175664_x(p_180501_1_);