mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2025-01-08 19:38:17 +01:00
Make it possible to run debug command twice
This commit is contained in:
parent
5f948e1508
commit
272d674007
@ -120,6 +120,7 @@ public void execute(@NotNull CommandSender commandSender, @NotNull String mainCo
|
|||||||
{
|
{
|
||||||
writer.flush();
|
writer.flush();
|
||||||
writer.close();
|
writer.close();
|
||||||
|
writer = null;
|
||||||
}
|
}
|
||||||
catch(Exception e) {e.printStackTrace();}
|
catch(Exception e) {e.printStackTrace();}
|
||||||
sender.getInventory().setItem(0, slot);
|
sender.getInventory().setItem(0, slot);
|
||||||
|
Loading…
Reference in New Issue
Block a user