Skip to content

Commit

Permalink
Fix changes to global assignment via commands not being saved to config
Browse files Browse the repository at this point in the history
  • Loading branch information
Phoenix616 committed Jun 8, 2021
1 parent acabb28 commit 0be0806
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,10 @@ public boolean run(ResourcepacksPlayer sender, String[] args) {
new PluginCommandExecutor(plugin, this, "globalassignment", null, "global") {
@Override
public boolean run(ResourcepacksPlayer sender, String[] args) {
return plugin.getPackManager().getGlobalAssignment().update(this, sender, args);
boolean success = plugin.getPackManager().getGlobalAssignment().update(this, sender, args);
plugin.getPackManager().setDirty(true);
plugin.getPackManager().checkDirty();
return success;
}

@Override
Expand Down

0 comments on commit 0be0806

Please sign in to comment.