Skip to content

Commit

Permalink
Fix ghost light collision
Browse files Browse the repository at this point in the history
  • Loading branch information
CSX8600 committed Dec 5, 2019
1 parent 93b12ae commit 5c66aea
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public boolean isNormalCube(IBlockState state, IBlockAccess world, BlockPos pos)

@Override
public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) {
return new AxisAlignedBB(0, 0, 0, 0, 0, 0);
return NULL_AABB;
}

@Override
Expand All @@ -44,4 +44,9 @@ public boolean shouldSideBeRendered(IBlockState blockState, IBlockAccess blockAc
EnumFacing side) {
return false;
}

@Override
public boolean isCollidable() {
return false;
}
}

0 comments on commit 5c66aea

Please sign in to comment.