worldhopper: Fix unfavorite removing all favorited worlds (#11739)

This commit is contained in:
Nathan Leba
2020-06-09 14:49:03 -05:00
committed by GitHub
parent db46662b1d
commit 2492857fba
2 changed files with 0 additions and 10 deletions

View File

@@ -298,7 +298,6 @@ public class WorldHopperPlugin extends Plugin
private void clearFavoriteConfig(int world)
{
configManager.unsetConfiguration(WorldHopperConfig.GROUP, "favorite_" + world);
panel.resetAllFavoriteMenus();
}
boolean isFavorite(World world)

View File

@@ -223,15 +223,6 @@ class WorldSwitcherPanel extends PluginPanel
}
}
void resetAllFavoriteMenus()
{
for (WorldTableRow row : rows)
{
row.setFavoriteMenu(false);
}
}
void populate(List<World> worlds)
{
rows.clear();