mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-14 22:56:10 +01:00
Fixed ready sign error when group member is not in the instance
This commit is contained in:
parent
e6c520e160
commit
fdee1355da
@ -710,7 +710,7 @@ public class DGroup implements PlayerGroup {
|
||||
|
||||
boolean ready = true;
|
||||
for (Player player : dGroup.getMembers().getOnlinePlayers()) {
|
||||
DGamePlayer dPlayer = (DGamePlayer) dPlayers.get(player);
|
||||
DGamePlayer dPlayer = (DGamePlayer) dPlayers.getGamePlayer(player);
|
||||
if (dPlayer == null) {
|
||||
dPlayer = new DGamePlayer(plugin, player, gameWorld);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user