mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-24 17:11:31 +01:00
Cap skin packet tracker max entries
This commit is contained in:
parent
9acf264db3
commit
3a5e43b779
@ -29,7 +29,8 @@ import net.citizensnpcs.util.NMS;
|
||||
*/
|
||||
public class SkinPacketTracker {
|
||||
private final SkinnableEntity entity;
|
||||
private final Map<UUID, PlayerEntry> inProgress = new HashMap<UUID, PlayerEntry>(Bukkit.getMaxPlayers() / 2);
|
||||
private final Map<UUID, PlayerEntry> inProgress = new HashMap<UUID, PlayerEntry>(
|
||||
Math.min(1000, Bukkit.getMaxPlayers() / 2));
|
||||
private boolean isRemoved;
|
||||
private Skin skin;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user