Make kits ensure association with players using them (Fixes PC-588)
This commit is contained in:
parent
9c4b787436
commit
37e50df948
@ -917,7 +917,7 @@ public abstract class Game implements Listener
|
||||
if (GetKit(player) == null)
|
||||
return false;
|
||||
|
||||
return GetKit(player).equals(kit);
|
||||
return GetKit(player).GetName().equals(kit.GetName());
|
||||
}
|
||||
|
||||
public boolean SetPlayerState(Player player, PlayerState state)
|
||||
|
Loading…
Reference in New Issue
Block a user