File tree 1 file changed +4
-4
lines changed
multiworld-bukkit/src/main/java/com/dev7ex/multiworld/world
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
import com .dev7ex .multiworld .api .bukkit .world .BukkitWorldProvider ;
8
8
import com .dev7ex .multiworld .api .bukkit .world .BukkitWorldType ;
9
9
import com .dev7ex .multiworld .api .world .WorldEnvironment ;
10
+ import com .dev7ex .multiworld .api .world .WorldProperty ;
10
11
import com .dev7ex .multiworld .api .world .WorldType ;
11
12
import lombok .AccessLevel ;
12
13
import lombok .Getter ;
@@ -66,14 +67,13 @@ public void onEnable() {
66
67
for (final String worldEntry : this .configuration .getWorldHolders ().keySet ()) {
67
68
final BukkitWorldHolder worldHolder = this .configuration .getWorldHolder (worldEntry );
68
69
69
- // Check and add missing properties
70
- /* for (final WorldProperty property : WorldProperty.values()) {
70
+
71
+ for (final WorldProperty property : WorldProperty .values ()) {
71
72
if (!this .configuration .hasProperty (worldEntry , property )) {
72
73
this .configuration .addMissingProperty (worldHolder , property );
73
74
}
74
75
}
75
-
76
- this.configuration.removeUnusableProperties(worldEntry);*/
76
+ //this.configuration.removeUnusableProperties(worldEntry);
77
77
78
78
// Load world if it exists
79
79
if (Bukkit .getWorld (worldEntry ) != null ) {
You can’t perform that action at this time.
0 commit comments