untested rework of dependent scoreboard source
Dieser Commit ist enthalten in:
Ursprung
7d78c28af5
Commit
2cd3334b99
@ -48,16 +48,6 @@ public class PlayerJoinedEvent implements Listener{
|
|||||||
}
|
}
|
||||||
|
|
||||||
event.setJoinMessage("§a§l» §r" + player.getDisplayName());
|
event.setJoinMessage("§a§l» §r" + player.getDisplayName());
|
||||||
}
|
|
||||||
|
|
||||||
@EventHandler
|
|
||||||
private void onQuit(PlayerQuitEvent event) {
|
|
||||||
Player player = event.getPlayer();
|
|
||||||
|
|
||||||
event.setQuitMessage("§c§l« §r" + player.getDisplayName());
|
|
||||||
|
|
||||||
SWScoreboard.getPlayerBoards().remove(player);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//TEST
|
//TEST
|
||||||
@ -77,4 +67,13 @@ public class PlayerJoinedEvent implements Listener{
|
|||||||
});
|
});
|
||||||
SWScoreboard.getPlayerBoards().put(player, swScoreboard);
|
SWScoreboard.getPlayerBoards().put(player, swScoreboard);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
private void onQuit(PlayerQuitEvent event) {
|
||||||
|
Player player = event.getPlayer();
|
||||||
|
|
||||||
|
event.setQuitMessage("§c§l« §r" + player.getDisplayName());
|
||||||
|
|
||||||
|
SWScoreboard.getPlayerBoards().remove(player);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren