mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Had the naming backwards, it's actually /party expshare
This commit is contained in:
parent
e14f8ad93c
commit
33d3cd0522
@ -27,7 +27,7 @@ public class PartyCommand implements CommandExecutor {
|
|||||||
private CommandExecutor partyAcceptCommand = new PartyAcceptCommand();
|
private CommandExecutor partyAcceptCommand = new PartyAcceptCommand();
|
||||||
private CommandExecutor partyCreateCommand = new PartyCreateCommand();
|
private CommandExecutor partyCreateCommand = new PartyCreateCommand();
|
||||||
private CommandExecutor partyQuitCommand = new PartyQuitCommand();
|
private CommandExecutor partyQuitCommand = new PartyQuitCommand();
|
||||||
private CommandExecutor partyShareExpCommand = new PartyShareExpCommand();
|
private CommandExecutor partyExpShareCommand = new PartyExpShareCommand();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
|
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);
|
return partyQuitCommand.onCommand(sender, command, label, args);
|
||||||
}
|
}
|
||||||
else if (args[0].equalsIgnoreCase("expshare")) {
|
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")) {
|
else if (args[0].equalsIgnoreCase("itemshare")) {
|
||||||
return shareItem();
|
return shareItem();
|
||||||
|
@ -13,7 +13,7 @@ import com.gmail.nossr50.util.Misc;
|
|||||||
import com.gmail.nossr50.util.Permissions;
|
import com.gmail.nossr50.util.Permissions;
|
||||||
import com.gmail.nossr50.util.Users;
|
import com.gmail.nossr50.util.Users;
|
||||||
|
|
||||||
public class PartyShareExpCommand implements CommandExecutor {
|
public class PartyExpShareCommand implements CommandExecutor {
|
||||||
private Player player;
|
private Player player;
|
||||||
private Party playerParty;
|
private Party playerParty;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user