This commit is contained in:
tastybento 2024-03-01 21:51:10 -08:00
parent 0e833de22a
commit a3a4a70921
1 changed files with 1 additions and 2 deletions

View File

@ -302,8 +302,7 @@ public class IslandTeamCommand extends CompositeCommand {
return true; return true;
} }
if (clickType.equals(ClickType.SHIFT_LEFT) && user.hasPermission(this.acceptCommand.getPermission())) { if (clickType.equals(ClickType.SHIFT_LEFT) && user.hasPermission(this.acceptCommand.getPermission())) {
getPlugin().log("Invite accepted: " + user.getName() + " accepted " + invite.getType() getPlugin().log("Invite accepted: " + user.getName() + " accepted " + invite.getType());
+ " invite to island at " + island.getCenter());
// Accept // Accept
switch (invite.getType()) { switch (invite.getType()) {
case COOP -> this.acceptCommand.acceptCoopInvite(user, invite); case COOP -> this.acceptCommand.acceptCoopInvite(user, invite);