Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-10 05:20:04 +01:00
Fixed the permissions resolver not being loaded if it was loaded after a plugin was enabled or re-enabled.
Dieser Commit ist enthalten in:
Ursprung
66edfbbae6
Commit
024604e204
@ -46,6 +46,7 @@ public class PermissionsResolverServerListener extends ServerListener {
|
|||||||
manager.setPluginPermissionsResolver(plugin);
|
manager.setPluginPermissionsResolver(plugin);
|
||||||
} else if (name.equalsIgnoreCase("GroupUsers") || name.equalsIgnoreCase("Permissions")) {
|
} else if (name.equalsIgnoreCase("GroupUsers") || name.equalsIgnoreCase("Permissions")) {
|
||||||
manager.findResolver();
|
manager.findResolver();
|
||||||
|
manager.load();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -63,6 +64,7 @@ public class PermissionsResolverServerListener extends ServerListener {
|
|||||||
|| name.equalsIgnoreCase("GroupUsers")
|
|| name.equalsIgnoreCase("GroupUsers")
|
||||||
|| name.equalsIgnoreCase("Permissions")) {
|
|| name.equalsIgnoreCase("Permissions")) {
|
||||||
manager.findResolver();
|
manager.findResolver();
|
||||||
|
manager.load();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren