MobArena/src
Andreas Troelsen 5d2881383f Guard against exceptions when setting scoreboards for disconnecting players.
Turns out that a player who disconnects while in the arena is actually still online if you ask the Player object. The setScoreboard() javadoc specifically says it throws an IllegalStateException in that case, so we can just catch and swallow it.

It's unclear what the state of the player's scoreboard is when they rejoin the server, but a borken scoreboard is better than a rogue exception.
2018-04-23 11:53:24 +02:00
..
main Guard against exceptions when setting scoreboards for disconnecting players. 2018-04-23 11:53:24 +02:00
test/java/com/garbagemule/MobArena/things Implement support for commands as things. 2017-11-19 20:19:36 +01:00