Dieser Commit ist enthalten in:
Ursprung
7a2f653928
Commit
85d0afa842
@ -36,6 +36,7 @@ public class JumpAndRun extends BasicListener {
|
|||||||
private static final Map<Player, Long> START = new HashMap<>();
|
private static final Map<Player, Long> START = new HashMap<>();
|
||||||
private static final Map<Player, Long> CLICKED = new HashMap<>();
|
private static final Map<Player, Long> CLICKED = new HashMap<>();
|
||||||
private static final Map<Player, Integer> CLICKED_COUNT = new HashMap<>();
|
private static final Map<Player, Integer> CLICKED_COUNT = new HashMap<>();
|
||||||
|
|
||||||
private static final Leaderboard LEADERBOARD = new Leaderboard(LobbySystem.getEntityServer(false), JUMP_AND_RUN_CONFIG, new Location(Bukkit.getWorlds().get(0), 2338.5, 42.5, 1231.5), 5);
|
private static final Leaderboard LEADERBOARD = new Leaderboard(LobbySystem.getEntityServer(false), JUMP_AND_RUN_CONFIG, new Location(Bukkit.getWorlds().get(0), 2338.5, 42.5, 1231.5), 5);
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -79,6 +80,10 @@ public class JumpAndRun extends BasicListener {
|
|||||||
LobbySystem.getMessage().sendPrefixless("JUMP_AND_RUN_PROGRESS", player, ChatMessageType.ACTION_BAR, index + 1, points.size(), FAILS.get(player), parsed.substring(0, parsed.length() - 2));
|
LobbySystem.getMessage().sendPrefixless("JUMP_AND_RUN_PROGRESS", player, ChatMessageType.ACTION_BAR, index + 1, points.size(), FAILS.get(player), parsed.substring(0, parsed.length() - 2));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
toReset.forEach(player -> {
|
||||||
|
reset(player);
|
||||||
|
player.teleport(Bukkit.getWorlds().get(0).getSpawnLocation().clone().add(0.5, 0, 0.5));
|
||||||
|
});
|
||||||
}, 1, 1);
|
}, 1, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren