Skip to content

Commit

Permalink
Fix NPE #2310
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Mar 2, 2024
1 parent 0e833de commit a3a4a70
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,7 @@ private PanelItem createInvitedButton(ItemTemplateRecord template, TemplatedPane
return true;
}
if (clickType.equals(ClickType.SHIFT_LEFT) && user.hasPermission(this.acceptCommand.getPermission())) {
getPlugin().log("Invite accepted: " + user.getName() + " accepted " + invite.getType()
+ " invite to island at " + island.getCenter());
getPlugin().log("Invite accepted: " + user.getName() + " accepted " + invite.getType());
// Accept
switch (invite.getType()) {
case COOP -> this.acceptCommand.acceptCoopInvite(user, invite);
Expand Down

0 comments on commit a3a4a70

Please sign in to comment.