mirror of
https://github.com/EpicEricEE/ShopChest.git
synced 2024-11-23 11:07:05 +01:00
Reset shop item after cancelled shop break
This commit is contained in:
parent
4bf5472e61
commit
c220f269c8
@ -73,6 +73,7 @@ public class ChestProtectListener implements Listener {
|
||||
}
|
||||
}
|
||||
|
||||
shop.getItem().resetForPlayer(p);
|
||||
e.setCancelled(true);
|
||||
e.getPlayer().sendMessage(LanguageUtils.getMessage(LocalizedMessage.Message.CANNOT_BREAK_SHOP));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user