Server throws this error when unload first time.
[09:20:33] [Server thread/INFO]: [STDERR]: java.lang.Exception: Failed to create dir
[09:20:33] [Server thread/INFO]: [STDERR]: at omtteam.omlib.handler.OwnerShareHandler.saveToDisk(OwnerShareHandler.java:169)
[09:20:33] [Server thread/INFO]: [STDERR]: at omtteam.omlib.handler.EventHandler.worldUnloadEvent(EventHandler.java:33)
Looking at source, should this
if (path.toFile().mkdir()) {
be
if (!path.toFile().mkdir()) {
?
The directory was created, although it threw an exception as if it were not.
Server throws this error when unload first time. [09:20:33] [Server thread/INFO]: [STDERR]: java.lang.Exception: Failed to create dir [09:20:33] [Server thread/INFO]: [STDERR]: at omtteam.omlib.handler.OwnerShareHandler.saveToDisk(OwnerShareHandler.java:169) [09:20:33] [Server thread/INFO]: [STDERR]: at omtteam.omlib.handler.EventHandler.worldUnloadEvent(EventHandler.java:33)
Looking at source, should this if (path.toFile().mkdir()) { be if (!path.toFile().mkdir()) { ?
The directory was created, although it threw an exception as if it were not.