Fixes #2525: Light P2P Tunnels not using the correct source for the light value.

This commit is contained in:
Sebastian Hartte 2016-10-30 01:41:24 +02:00
parent 2972f0ddc8
commit 89299cdb3c
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ public class PartP2PLight extends PartP2PTunnel<PartP2PLight> implements IGridTi
final TileEntity te = this.getTile();
final World w = te.getWorld();
final int newLevel = w.getLight( te.getPos().offset( this.getSide().getFacing() ) );
final int newLevel = w.getLightFromNeighbors( te.getPos().offset( this.getSide().getFacing() ) );
if( this.lastValue != newLevel && this.getProxy().isActive() )
{