Reset shop item after cancelled shop break

This commit is contained in:
Eric 2016-08-16 15:11:44 +02:00
parent 4bf5472e61
commit c220f269c8

View File

@ -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));
}