Skip to content

Commit

Permalink
Add xp for crafters
Browse files Browse the repository at this point in the history
A
  • Loading branch information
Raycoms committed Jan 13, 2019
1 parent 60e9318 commit 4294db1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ public IAIState afterDump()
if (maxCraftingCount == 0 && progress == 0 && craftCounter == 0 && currentRequest != null)
{
job.finishRequest(true);
worker.getCitizenExperienceHandler().addExperience(currentRequest.getRequest().getCount()/2.0);
currentRequest = null;
}
return super.afterDump();
Expand Down

0 comments on commit 4294db1

Please sign in to comment.