1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-04-03 10:16:23 +02:00

Round 3: DeathMatch

This commit is contained in:
t00thpick1 2015-01-25 23:28:30 -05:00
parent 50088fe0bd
commit 342662c944

@ -315,7 +315,7 @@ public class InventoryListener implements Listener {
public void onInventoryClickEvent(InventoryClickEvent event) {
SkillUtils.removeAbilityBuff(event.getCurrentItem());
if (event.getAction() == InventoryAction.HOTBAR_SWAP) {
SkillUtils.removeAbilityBuff(event.getInventory().getItem(event.getHotbarButton()));
SkillUtils.removeAbilityBuff(event.getWhoClicked().getInventory().getItem(event.getHotbarButton()));
}
}