mirror of
https://github.com/essentials/Essentials.git
synced 2025-02-24 08:22:56 +01:00
Synchronize the world data holder.
This commit is contained in:
parent
9d820c94a6
commit
b4460f8bac
@ -403,8 +403,10 @@ public class WorldsHolder {
|
||||
|
||||
if (worldsData.containsKey(worldNameLowered)) {
|
||||
OverloadedWorldHolder data = worldsData.get(worldNameLowered);
|
||||
data.updateDataSource();
|
||||
return data;
|
||||
synchronized (data) {
|
||||
data.updateDataSource();
|
||||
return data;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user