Skip to content

Commit

Permalink
Add null check for state.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgorithmX2 committed Aug 9, 2016
1 parent dd13e08 commit cfe6d54
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -293,7 +293,7 @@ public void onDataPacket(
*/
private void triggerDynamicUpdates()
{
if ( worldObj.isRemote )
if ( worldObj.isRemote && state != null )
{
final VoxelNeighborRenderTracker vns = state.getValue( BlockChiseled.UProperty_VoxelNeighborState );

Expand Down

0 comments on commit cfe6d54

Please sign in to comment.