Skip to content

Commit

Permalink
Fix area deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Jan 16, 2024
1 parent 2384a35 commit 31e6790
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/world/bentobox/skygrid/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ public boolean isNetherIslands() {

@Override
public boolean isUseOwnGenerator() {
return true;
return false;
}

@Override
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/world/bentobox/skygrid/SkyGrid.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,8 @@ public void saveWorldSettings() {

}

@Override
public boolean isUsesNewChunkGeneration() {
return true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public class SkyGridGen extends ChunkGenerator {
* @param addon - addon
*/
public SkyGridGen(SkyGrid addon) {
super();
this.addon = addon;
this.populator = new SkyGridPop(addon);
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/world/bentobox/skygrid/SettingsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ public void testGetIslandHeight() {
*/
@Test
public void testIsUseOwnGenerator() {
assertTrue(s.isUseOwnGenerator());
assertFalse(s.isUseOwnGenerator());
}

/**
Expand Down

0 comments on commit 31e6790

Please sign in to comment.