mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-04-05 19:26:23 +02:00

If dataDir.exists() is true, dataDir.isDirectory() will always also be true. You probably wanted to check whether it is a folder. This bug could lead to a critical bug when a file with the name of the folder exists.