Skip to content

Commit

Permalink
Fix Extra-Block harvests not giving XP
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Feb 26, 2015
1 parent 3b8777f commit 28583d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/tconstruct/library/tools/HarvestTool.java
Expand Up @@ -301,6 +301,7 @@ protected void breakExtraBlock(World world, int x, int y, int z, int sidehit, En
{
block.onBlockDestroyedByPlayer( world, x,y,z, meta);
block.harvestBlock(world, player, x,y,z, meta);
block.dropXpOnBlockBreak(world, x,y,z, event.getExpToDrop());
}

// always send block update to client
Expand Down

0 comments on commit 28583d6

Please sign in to comment.