mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-23 09:37:50 +01:00
Synchronize the world data holder.
This commit is contained in:
parent
96ab1b4533
commit
71179e3dfd
@ -403,9 +403,11 @@ public class WorldsHolder {
|
||||
|
||||
if (worldsData.containsKey(worldNameLowered)) {
|
||||
OverloadedWorldHolder data = worldsData.get(worldNameLowered);
|
||||
synchronized (data) {
|
||||
data.updateDataSource();
|
||||
return data;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user