Fix preference inventory.

This commit is contained in:
Keir 2015-11-10 21:40:35 +00:00
parent 7d63a95ec9
commit f1c8564263

View File

@ -294,14 +294,14 @@ public class PreferencesPage extends ShopPageBase<PreferencesManager, Preference
buildPreference(38, Material.SLIME_BALL, "Hub Forcefield", userPreferences.HubForcefield, _toggleHubForcefield);
buildPreference(42, Material.PAPER, "Mac Reports", userPreferences.ShowMacReports, _toggleMacReports);
buildPreference(44, Material.SADDLE, "Hub Ignore Velocity", userPreferences.IgnoreVelocity, _toggleHubIgnoreVelocity);
buildPreference(49, Material.BOOK, "User Reports", userPreferences.ShowUserReports, _toggleUserReports);
buildPreference(58, Material.BOOK, "User Reports", userPreferences.ShowUserReports, _toggleUserReports);
}
else if (getClientManager().Get(getPlayer()).GetRank().has(Rank.MODERATOR))
{
buildPreference(38, Material.NETHER_STAR, "Hub Invisibility", userPreferences.Invisibility, _toggleHubInvisibility);
buildPreference(42, Material.PAPER, "Mac Reports", userPreferences.ShowMacReports, _toggleMacReports);
buildPreference(44, Material.SADDLE, "Hub Ignore Velocity", userPreferences.IgnoreVelocity, _toggleHubIgnoreVelocity);
buildPreference(49, Material.BOOK, "User Reports", userPreferences.ShowUserReports, _toggleUserReports);
buildPreference(58, Material.BOOK, "User Reports", userPreferences.ShowUserReports, _toggleUserReports);
}
else if (getClientManager().Get(getPlayer()).GetRank() == Rank.YOUTUBE || getClientManager().Get(getPlayer()).GetRank() == Rank.TWITCH)
{