diff --git a/src/me/WitherPunishment/events/Chat.java b/src/me/WitherPunishment/events/Chat.java index 4c92ee1..d671076 100644 --- a/src/me/WitherPunishment/events/Chat.java +++ b/src/me/WitherPunishment/events/Chat.java @@ -69,7 +69,7 @@ public void chat(AsyncPlayerChatEvent e) throws SQLException { if(MainPunish.eprova.contains(p.getName())) { e.setCancelled(true); if(e.getMessage().equalsIgnoreCase("cancelar") || e.getMessage().equalsIgnoreCase("cancel")) { - MainPunish.reabrirInv(p); + MainPunish.editPunish(p, MainPunish.editando.get(p.getName())); MainPunish.eprova.remove(p.getName()); } else if(e.getMessage().toLowerCase().startsWith("http://") || (e.getMessage().toLowerCase().startsWith("https://"))) { MainPunish.provaa = e.getMessage();