Skip to content

Commit

Permalink
Bit Storage, Only spawn items on server.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgorithmX2 committed Dec 5, 2017
1 parent 2ceb495 commit 6d6e37e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void give(
if ( player.isReal() )
{
final boolean spawnBit = ChiselsAndBits.getItems().itemBlockBit != null;
if ( spawnBit )
if ( spawnBit && !player.getWorld().isRemote )
{
World w = player.getWorld();
for ( Entry<Integer, Integer> p : storage.entrySet() )
Expand Down

0 comments on commit 6d6e37e

Please sign in to comment.