Skip to content

Commit

Permalink
Fixes coop invite bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Mar 26, 2018
1 parent de794c7 commit 3e39ca5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/wasteofplastic/askyblock/commands/IslandCmd.java
Original file line number Diff line number Diff line change
Expand Up @@ -2671,8 +2671,8 @@ public void run() {
@Override
public void run() {

if (coopInviteList.containsKey(targetPlayerUUID) && inviteList.get(targetPlayerUUID).equals(playerUUID)) {
inviteList.remove(targetPlayerUUID);
if (coopInviteList.containsKey(targetPlayerUUID) && coopInviteList.get(targetPlayerUUID).equals(playerUUID)) {
coopInviteList.remove(targetPlayerUUID);
if (plugin.getServer().getPlayer(playerUUID) != null) {
Util.sendMessage(plugin.getServer().getPlayer(playerUUID), ChatColor.YELLOW + plugin.myLocale(player.getUniqueId()).inviteremovingInvite);
}
Expand Down

0 comments on commit 3e39ca5

Please sign in to comment.