mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-09 20:21:07 +00: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