mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Fix NPE in GameTeam
This commit is contained in:
parent
1c5e180447
commit
6a992dbda9
@ -72,7 +72,7 @@ public class GameTeam {
|
||||
for (GamePlayer player : this.members) {
|
||||
if (player == null || player.getHabbo() == null) continue;
|
||||
|
||||
player.getHabbo().getHabboInfo().getGamePlayer().reset();
|
||||
if (player.getHabbo().getHabboInfo().getGamePlayer() != null) player.getHabbo().getHabboInfo().getGamePlayer().reset();
|
||||
player.getHabbo().getHabboInfo().setCurrentGame(null);
|
||||
player.getHabbo().getHabboInfo().setGamePlayer(null);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user