Permalink
Browse files

Fixed a crash caused by CCFL lights

  • Loading branch information...
Ri5ux committed Sep 28, 2018
1 parent 0536170 commit 67bbcd2cb2727babe3fe6154e50f2465b5331fad
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/avp/tile/TileEntityCCFLTube.java
@@ -51,7 +51,7 @@ public boolean canProvideEnergyToReceiver(EnumFacing side)
return false;
}
if (side == this.getRotationYAxis() || side == this.getRotationYAxis().getOpposite())
if (side == this.getRotationYAxis() || this.getRotationYAxis() != null && side == this.getRotationYAxis().getOpposite())
{
return true;
}

0 comments on commit 67bbcd2

Please sign in to comment.