mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 05:26:29 +01:00
Merge pull request #902 from Malfrador/master
Fixed edit permissions getting added to the wrong world
This commit is contained in:
commit
bcd7f4478f
@ -63,7 +63,7 @@ public class DEditPlayer extends DInstancePlayer implements EditPlayer {
|
||||
// Permission bridge
|
||||
if (plugin.getPermissionProvider() != null) {
|
||||
for (String permission : plugin.getMainConfig().getEditPermissions()) {
|
||||
plugin.getPermissionProvider().playerAddTransient(world.getName(), player, permission);
|
||||
plugin.getPermissionProvider().playerAddTransient(getWorld().getName(), player, permission);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user