mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-27 14:13:11 +02:00
Comment: More work needed towards null world compatibility.
This commit is contained in:
parent
21eb53f7f2
commit
17db0bdcfe
@ -44,6 +44,11 @@ public class NetDataFactory implements CheckDataFactory, ICanHandleTimeRunningBa
|
|||||||
if (data != null) {
|
if (data != null) {
|
||||||
return data;
|
return data;
|
||||||
} else {
|
} else {
|
||||||
|
/*
|
||||||
|
* TODO: Bootstrap problem with NetStatic and null worlds :) -> move
|
||||||
|
* world tracking to basic data (e.g. PlayerData), needs thread
|
||||||
|
* safety.
|
||||||
|
*/
|
||||||
data = new NetData((NetConfig) CheckType.NET.getConfigFactory().getConfig(player));
|
data = new NetData((NetConfig) CheckType.NET.getConfigFactory().getConfig(player));
|
||||||
dataMap.put(player.getName(), data);
|
dataMap.put(player.getName(), data);
|
||||||
return data;
|
return data;
|
||||||
|
Loading…
Reference in New Issue
Block a user