if (entityFileList != null) {
for (File file : entityFolder.listFiles()) {
file.delete();
}
}
<BUG>File spawnFolder = new File(configDirectory, DefaultProps.WORLDSETTINGSDIR
</BUG>
+ worldProperties.getFolderConfiguration().saveName + "/" + DefaultProps.ENTITYSPAWNRDIR);
File[] spawnFileList = entityFolder.listFiles();
if (spawnFileList != null) {

if (entityFileList != null) {
for (File file : entityFolder.listFiles()) {
file.delete();
}
}
File spawnFolder = new File(configDirectory, DefaultProps.MODDIR + DefaultProps.WORLDSETTINGSDIR
+ worldProperties.getFolderConfiguration().saveName + "/" + DefaultProps.ENTITYSPAWNRDIR);
File[] spawnFileList = entityFolder.listFiles();
if (spawnFileList != null) {
