Skip to content

Commit

Permalink
#1 no BlockPlaceIndicator when you don't have a block in your hand
Browse files Browse the repository at this point in the history
Sounds good, right? It is!
  • Loading branch information
TeNNoX committed Apr 8, 2015
1 parent 5c55732 commit 0d4c808
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/tennox/customselectionbox/CSB.java
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ private static AxisAlignedBB getCurrentBlockBB(World world, EntityPlayer player,

return getBlockSpecificBB(world, player, pos, inUse, side, hitPos);
} else { // no block in hand
return Blocks.air.getSelectedBoundingBox(world, pos);
return null;
// return Blocks.air.getSelectedBoundingBox(world, pos);
}
}

Expand Down

0 comments on commit 0d4c808

Please sign in to comment.