From 33d3cd0522e6ac7fb77cc0178ee7bc208d8748bd Mon Sep 17 00:00:00 2001 From: GJ Date: Fri, 8 Feb 2013 11:51:06 -0500 Subject: [PATCH] Had the naming backwards, it's actually /party expshare --- .../java/com/gmail/nossr50/party/commands/PartyCommand.java | 4 ++-- .../{PartyShareExpCommand.java => PartyExpShareCommand.java} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/main/java/com/gmail/nossr50/party/commands/{PartyShareExpCommand.java => PartyExpShareCommand.java} (95%) diff --git a/src/main/java/com/gmail/nossr50/party/commands/PartyCommand.java b/src/main/java/com/gmail/nossr50/party/commands/PartyCommand.java index fea0b7fc5..dbf1edd22 100644 --- a/src/main/java/com/gmail/nossr50/party/commands/PartyCommand.java +++ b/src/main/java/com/gmail/nossr50/party/commands/PartyCommand.java @@ -27,7 +27,7 @@ public class PartyCommand implements CommandExecutor { private CommandExecutor partyAcceptCommand = new PartyAcceptCommand(); private CommandExecutor partyCreateCommand = new PartyCreateCommand(); private CommandExecutor partyQuitCommand = new PartyQuitCommand(); - private CommandExecutor partyShareExpCommand = new PartyShareExpCommand(); + private CommandExecutor partyExpShareCommand = new PartyExpShareCommand(); @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { @@ -69,7 +69,7 @@ public class PartyCommand implements CommandExecutor { return partyQuitCommand.onCommand(sender, command, label, args); } else if (args[0].equalsIgnoreCase("expshare")) { - return partyShareExpCommand.onCommand(sender, command, label, args); + return partyExpShareCommand.onCommand(sender, command, label, args); } else if (args[0].equalsIgnoreCase("itemshare")) { return shareItem(); diff --git a/src/main/java/com/gmail/nossr50/party/commands/PartyShareExpCommand.java b/src/main/java/com/gmail/nossr50/party/commands/PartyExpShareCommand.java similarity index 95% rename from src/main/java/com/gmail/nossr50/party/commands/PartyShareExpCommand.java rename to src/main/java/com/gmail/nossr50/party/commands/PartyExpShareCommand.java index a0241c25a..556cae611 100644 --- a/src/main/java/com/gmail/nossr50/party/commands/PartyShareExpCommand.java +++ b/src/main/java/com/gmail/nossr50/party/commands/PartyExpShareCommand.java @@ -13,7 +13,7 @@ import com.gmail.nossr50.util.Misc; import com.gmail.nossr50.util.Permissions; import com.gmail.nossr50.util.Users; -public class PartyShareExpCommand implements CommandExecutor { +public class PartyExpShareCommand implements CommandExecutor { private Player player; private Party playerParty;