mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-03-12 14:39:12 +01:00
Just start small (Bukkit.getServer() fails on tests).
This commit is contained in:
parent
5d72a51001
commit
5e1c71b451
@ -3,7 +3,6 @@ package fr.neatmonster.nocheatplus.checks.net;
|
||||
import java.util.Iterator;
|
||||
import java.util.Map.Entry;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import fr.neatmonster.nocheatplus.checks.CheckType;
|
||||
@ -18,7 +17,7 @@ import fr.neatmonster.nocheatplus.utilities.ds.map.HashMapLOW;
|
||||
*/
|
||||
public class NetDataFactory implements CheckDataFactory, ICanHandleTimeRunningBackwards {
|
||||
|
||||
private final HashMapLOW<String, NetData> dataMap = new HashMapLOW<String, NetData>(Math.min(Bukkit.getServer().getMaxPlayers(), 500));
|
||||
private final HashMapLOW<String, NetData> dataMap = new HashMapLOW<String, NetData>(35);
|
||||
|
||||
@Override
|
||||
public void removeAllData() {
|
||||
|
Loading…
Reference in New Issue
Block a user