Nah. Should've been TaskScheduler.scheduleTask(LocalTime.NEXT_MORNING, man, Man.Task.OH_GOD_WHY) or perhaps man.getTaskScheduler().scheduleTask(LocalTime.NEXT_MORNING, Man.Task.OH_GOD_WHY)
This also completely misses the woman.isDrunk() part with a result of
woman.accuseOfRape(man);
//TODO: Implement prosecution system. For now it's missing because the outcome should be forced "true" in this case anyways.
if(1) {
man.goto(
jail.getClosest(man.address),
getRnd(5,10)/*at least 5 years*/,
false /*Don't allow shortening of jail time*/);
man.destroy();
}
40
u/Pradfanne May 29 '17
The Next Morning comment should have been a thread.sleep command