diff --git a/Plugins/Mineplex.Core/src/mineplex/core/preferences/PreferenceCategory.java b/Plugins/Mineplex.Core/src/mineplex/core/preferences/PreferenceCategory.java index 7e99cd29e..113d2d26b 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/preferences/PreferenceCategory.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/preferences/PreferenceCategory.java @@ -13,7 +13,7 @@ public enum PreferenceCategory USER("User", Material.PAPER), EXCLUSIVE("Exclusive", Material.DIAMOND), - GAME_PLAY("Game Mechanic", Material.REDSTONE_COMPARATOR), + //GAME_PLAY("Game Mechanic", Material.REDSTONE_COMPARATOR), MISC("Miscellaneous", Material.COMPASS), FRIEND("Friend", Material.CHEST), ; diff --git a/Plugins/Mineplex.Core/src/mineplex/core/preferences/PreferencesManager.java b/Plugins/Mineplex.Core/src/mineplex/core/preferences/PreferencesManager.java index 126eee8c4..ca98268ad 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/preferences/PreferencesManager.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/preferences/PreferencesManager.java @@ -119,7 +119,6 @@ public class PreferencesManager extends MiniPlugin implements ILoginProcessor if(preferences == null) { preferences = new UserPreferences(_clientManager.getAccountId(player)); - _repository.loadClientInformation(_clientManager.getAccountId(player)); } return preferences; } diff --git a/Plugins/Mineplex.Core/src/mineplex/core/preferences/ui/menus/PreferenceMenu.java b/Plugins/Mineplex.Core/src/mineplex/core/preferences/ui/menus/PreferenceMenu.java index dd37a8820..08aef8b47 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/preferences/ui/menus/PreferenceMenu.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/preferences/ui/menus/PreferenceMenu.java @@ -1,5 +1,6 @@ package mineplex.core.preferences.ui.menus; +import com.google.common.collect.Lists; import mineplex.core.common.Rank; import mineplex.core.common.util.UtilUI; import mineplex.core.menu.Button; @@ -37,7 +38,7 @@ public class PreferenceMenu extends Menu { Button[] buttons = new Button[INV_SIZE]; - List preferences = Preference.getByCategory(_category); + List preferences = Lists.newArrayList(Preference.getByCategory(_category)); Rank rank = getPlugin().getClientManager().Get(player).GetRank(); UserPreferences user = getPlugin().get(player);