Synchronize the world data holder.

This commit is contained in:
ElgarL 2012-09-10 17:46:01 +01:00
parent 96ab1b4533
commit 71179e3dfd

View File

@ -403,9 +403,11 @@ public class WorldsHolder {
if (worldsData.containsKey(worldNameLowered)) {
OverloadedWorldHolder data = worldsData.get(worldNameLowered);
synchronized (data) {
data.updateDataSource();
return data;
}
}
return null;
}