Fixed a bug with auto-deletion

This commit is contained in:
BuildTools 2018-07-15 18:47:03 +02:00
parent 22541d1fdf
commit 65cd433cad
3 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
name: WorldSystem
version: 2.2.0.4
version: 2.2.0.5
author: Butzlabben
main: de.butzlabben.world.WorldSystem
loadbefore: [FastAsyncWorldEdit, WorldEdit]

View File

@ -218,8 +218,8 @@ public class PluginConfig {
return getConfig().getInt("delete_after") != -1;
}
public static int deleteAfter() {
return getConfig().getInt("delete_after");
public static long deleteAfter() {
return getConfig().getLong("delete_after");
}
public static WorldCreator getWorldCreator(String worldname) {

View File

@ -1,5 +1,5 @@
name: WorldSystem
version: 2.2.0.4
version: 2.2.0.5
author: Butzlabben
main: de.butzlabben.world.WorldSystem
loadbefore: [FastAsyncWorldEdit, WorldEdit]