use of de.Keyle.MyPet.api.player.MyPetPlayer in project MyPet by xXKeyleXx.
the class PlayerManager method getMyPetPlayers.
public MyPetPlayer[] getMyPetPlayers() {
MyPetPlayer[] playerArray;
int playerCounter = 0;
playerArray = new MyPetPlayer[onlinePlayers.size()];
for (MyPetPlayer player : onlinePlayers.values()) {
playerArray[playerCounter++] = player;
}
return playerArray;
}
Aggregations