EasterHuntReward #29
@ -135,7 +135,7 @@ public class JumpAndRun extends BasicListener {
|
|||||||
long jumpAndRunTime = Long.parseLong(jumpAndRunTimeConfig);
|
long jumpAndRunTime = Long.parseLong(jumpAndRunTimeConfig);
|
||||||
if (time < jumpAndRunTime) {
|
if (time < jumpAndRunTime) {
|
||||||
SimpleDateFormat format = new SimpleDateFormat(LobbySystem.getMessage().parse("JUMP_AND_RUN_TIME", player), Locale.ROOT);
|
SimpleDateFormat format = new SimpleDateFormat(LobbySystem.getMessage().parse("JUMP_AND_RUN_TIME", player), Locale.ROOT);
|
||||||
String parsed = format.format(new Date(time - jumpAndRunTime));
|
String parsed = format.format(new Date(jumpAndRunTime - time));
|
||||||
LobbySystem.getMessage().sendPrefixless("JUMP_AND_RUN_PERSONAL_BEST", player, parsed);
|
LobbySystem.getMessage().sendPrefixless("JUMP_AND_RUN_PERSONAL_BEST", player, parsed);
|
||||||
UserConfig.updatePlayerConfig(player.getUniqueId(), "jump_and_run", time + "");
|
UserConfig.updatePlayerConfig(player.getUniqueId(), "jump_and_run", time + "");
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren