mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-28 20:19:00 +01:00
fixed nullpointer exception in GlobalRegionManager.java
This commit is contained in:
parent
af2e862ca2
commit
36fef995e4
@ -117,7 +117,7 @@ public void setGlobalFlags(String worldName, GlobalFlags globalflags) {
|
||||
if (globalflags != null) {
|
||||
RegionManager ret = this.managers.get(worldName);
|
||||
|
||||
if (ret == null) {
|
||||
if (ret != null) {
|
||||
ret.setGlobalFlags(globalflags);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user