Skip to content

Commit

Permalink
Fixed: Open wrong inventory after edit proof of punishment
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel8579 committed Feb 26, 2018
1 parent f6ff48f commit b004a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/me/WitherPunishment/events/Chat.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b004a6a

Please sign in to comment.