Comment: More work needed towards null world compatibility.

This commit is contained in:
asofold 2016-12-27 15:04:28 +01:00
parent 21eb53f7f2
commit 17db0bdcfe

View File

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