Removed updateparty comments
This commit is contained in:
parent
daf6ab21a5
commit
5fcf9da6b9
|
|
@ -42,8 +42,6 @@ public class Create implements SubCommand {
|
||||||
source.sendMessage(Utility.parseMiniMessage(Config.CREATED_PARTY,
|
source.sendMessage(Utility.parseMiniMessage(Config.CREATED_PARTY,
|
||||||
List.of(Template.template("party_name", party.getPartyName()),
|
List.of(Template.template("party_name", party.getPartyName()),
|
||||||
Template.template("party_password", party.getPartyPassword()))));
|
Template.template("party_password", party.getPartyPassword()))));
|
||||||
// update(player, party.getPartyId());
|
|
||||||
//TODO put party in active party list
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,6 @@ public class Join implements SubCommand {
|
||||||
party.addUser(ChatUserManager.getChatUser(player.getUniqueId()), player.getUsername());
|
party.addUser(ChatUserManager.getChatUser(player.getUniqueId()), player.getUsername());
|
||||||
source.sendMessage(Utility.parseMiniMessage(Config.JOINED_PARTY, List.of(
|
source.sendMessage(Utility.parseMiniMessage(Config.JOINED_PARTY, List.of(
|
||||||
Template.template("party_name", party.getPartyName()))));
|
Template.template("party_name", party.getPartyName()))));
|
||||||
// update(player, party.getPartyId()); TODO update party
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,6 @@ public class Leave implements SubCommand {
|
||||||
} else {
|
} else {
|
||||||
source.sendMessage(Utility.parseMiniMessage(Config.LEFT_PARTY));
|
source.sendMessage(Utility.parseMiniMessage(Config.LEFT_PARTY));
|
||||||
}
|
}
|
||||||
// update(player, party.getPartyId()); TODO update party
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user