tick warp will display better messages in case its busy.

This commit is contained in:
gnembon committed 2019-09-13 09:39:53 -03:00
1 parent 296d327d64
commit aeceacc733
1 file changed
+3 -1
+3 -1
View File
@@ -59,7 +59,9 @@ public class TickSpeed
}
if (time_bias > 0)
{
return Messenger.c("l Another player is already advancing time at the moment. Try later or talk to them");
String who = "Another player";
if (time_advancerer != null) who = time_advancerer.getEntityName();
return Messenger.c("l "+who+" is already advancing time at the moment. Try later or ask them");
}
time_advancerer = player;
time_warp_start_time = System.nanoTime();