Fix BestGame not cancelling for parties.

This commit is contained in:
TadahTech 2016-09-01 08:29:51 -05:00
parent 107a296239
commit fdc54e1dd1

View File

@ -328,7 +328,7 @@ public class NextBestGameManager implements Listener
owner.sendMessage(" ");
new CountdownRunnable(party);
_tasks.put(player.getUniqueId(), new CountdownRunnable(party));
} else
{
owner.sendMessage(" ");
@ -395,7 +395,7 @@ public class NextBestGameManager implements Listener
if (_partyManager.getPreferencesManager().get(owner).isActive(Preference.COUNTDOWN_ON_CLICK))
{
new CountdownRunnable(party);
_tasks.put(player.getUniqueId(), new CountdownRunnable(owner));
player.getInventory().setItem(INVENTORY_SLOT, CANCEL_ITEM);
} else
{
@ -414,7 +414,7 @@ public class NextBestGameManager implements Listener
if (_partyManager.getPreferencesManager().get(player).isActive(Preference.COUNTDOWN_ON_CLICK))
{
new CountdownRunnable(player);
_tasks.put(player.getUniqueId(), new CountdownRunnable(player));
player.getInventory().setItem(INVENTORY_SLOT, CANCEL_ITEM);
} else
{