Make kits ensure association with players using them (Fixes PC-588)

This commit is contained in:
AlexTheCoder 2016-06-28 22:41:31 -04:00 committed by cnr
parent 9c4b787436
commit 37e50df948

View File

@ -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)