Fixed stuff related to shop trading (#202)

> Refactored stuff to facilitate resolving an issue regarding sellnig item to a full shop
> Removed double value message in shop
This commit is contained in:
Gptaqbc
2019-11-19 13:11:16 -05:00
committed by Daniel Ginovker
parent 820c6fafba
commit c0c6b40387
2 changed files with 25 additions and 12 deletions
@@ -391,6 +391,8 @@ public class Client extends Player {
return food;
}
public int TotalShopItems;
public void startCurrentTask(int ticksBetweenExecution, CycleEvent event) {
endCurrentTask();
currentTask = CycleEventHandler.getSingleton().addEvent(this, event, ticksBetweenExecution);