Make it possible to run debug command twice

This commit is contained in:
GeorgH93 2021-08-24 19:11:26 +02:00
parent 5f948e1508
commit 272d674007
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8

View File

@ -120,6 +120,7 @@ public void execute(@NotNull CommandSender commandSender, @NotNull String mainCo
{
writer.flush();
writer.close();
writer = null;
}
catch(Exception e) {e.printStackTrace();}
sender.getInventory().setItem(0, slot);