Skip to content

Commit

Permalink
Recalculate all player permissions on Portal creation. Fixes #130.
Browse files Browse the repository at this point in the history
  • Loading branch information
dumptruckman committed Apr 5, 2012
1 parent a9a8081 commit ef66ad5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ private void addToUpperLists() {
this.plugin.getServer().getPluginManager().recalculatePermissionDefaults(allPortals);
this.plugin.getServer().getPluginManager().recalculatePermissionDefaults(allPortalAccess);
this.plugin.getServer().getPluginManager().recalculatePermissionDefaults(allPortalExempt);
for(Player player : this.plugin.getServer().getOnlinePlayers()){
player.recalculatePermissions();
}
}

public static MVPortal loadMVPortalFromConfig(MultiversePortals instance, String name) {
Expand Down

0 comments on commit ef66ad5

Please sign in to comment.