From 684a40db41863681ee38bba83b7944d3a3b18d1f Mon Sep 17 00:00:00 2001 From: Shaun Bennett Date: Tue, 16 Feb 2016 16:55:00 -0600 Subject: [PATCH] Fix giving TITAN in Staff Server --- .../staffServer/salespackage/command/RankCommand.java | 2 +- .../salespackage/salespackages/LifetimeTitan.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/salespackage/command/RankCommand.java b/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/salespackage/command/RankCommand.java index ae576601c..21fad01ea 100644 --- a/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/salespackage/command/RankCommand.java +++ b/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/salespackage/command/RankCommand.java @@ -34,7 +34,7 @@ public class RankCommand extends CommandBase final Rank rankEnum = Rank.valueOf(rank); - if (rankEnum == Rank.HERO || rankEnum == Rank.ULTRA || rankEnum == Rank.LEGEND || rankEnum == Rank.ALL) + if (rankEnum == Rank.HERO || rankEnum == Rank.ULTRA || rankEnum == Rank.LEGEND || rankEnum == Rank.TITAN || rankEnum == Rank.ALL) { Plugin.getClientManager().SaveRank(playerName, uuid, mineplex.core.common.Rank.valueOf(rank), perm); caller.sendMessage(F.main(Plugin.getName(), playerName + "'s rank has been updated to " + rank + "!")); diff --git a/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/salespackage/salespackages/LifetimeTitan.java b/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/salespackage/salespackages/LifetimeTitan.java index b28e653f9..c2fb03c1a 100644 --- a/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/salespackage/salespackages/LifetimeTitan.java +++ b/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/salespackage/salespackages/LifetimeTitan.java @@ -14,9 +14,9 @@ public class LifetimeTitan extends SalesPackageBase public void displayToAgent(Player agent, String playerName) { addButton(agent, "/sales rank " + playerName + " TITAN true", " Lifetime Titan."); - addButton(agent, "/sales item " + playerName + " 1 Molten Snake", "Gives Molten Snake Mount."); - addButton(agent, "/sales item " + playerName + " 1 Elder Guardian Morph", "Gives Elder Guardian Morph."); - addButton(agent, "/sales item " + playerName + " 1 Flame of the Titans", "Gives Titan Particle."); +// addButton(agent, "/sales item " + playerName + " 1 Molten Snake", "Gives Molten Snake Mount."); +// addButton(agent, "/sales item " + playerName + " 1 Elder Guardian Morph", "Gives Elder Guardian Morph."); +// addButton(agent, "/sales item " + playerName + " 1 Flame of the Titans", "Gives Titan Particle."); agent.sendMessage(" "); addBackButton(agent, playerName); }