mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-02-21 17:19:35 +01: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.