1212import com .fastasyncworldedit .bukkit .regions .WorldGuardFeature ;
1313import com .fastasyncworldedit .bukkit .util .BukkitTaskManager ;
1414import com .fastasyncworldedit .bukkit .util .ItemUtil ;
15- import com .fastasyncworldedit .bukkit .util .MinecraftVersion ;
1615import com .fastasyncworldedit .bukkit .util .image .BukkitImageViewer ;
1716import com .fastasyncworldedit .core .FAWEPlatformAdapterImpl ;
1817import com .fastasyncworldedit .core .Fawe ;
@@ -58,7 +57,6 @@ public class FaweBukkit implements IFawe, Listener {
5857 private static final Logger LOGGER = LogManagerCompat .getLogger ();
5958
6059 private final Plugin plugin ;
61- private final boolean chunksStretched ;
6260 private final FAWEPlatformAdapterImpl platformAdapter ;
6361 private ItemUtil itemUtil ;
6462 private Preloader preloader ;
@@ -82,10 +80,6 @@ public FaweBukkit(Plugin plugin) {
8280 Bukkit .getServer ().shutdown ();
8381 }
8482
85- MinecraftVersion version = MinecraftVersion .getCurrent ();
86-
87- chunksStretched = version .isEqualOrHigherThan (MinecraftVersion .NETHER );
88-
8983 platformAdapter = new NMSAdapter ();
9084
9185 //PlotSquared support is limited to Spigot/Paper as of 02/20/2020
@@ -105,8 +99,8 @@ public FaweBukkit(Plugin plugin) {
10599 });
106100
107101 // Warn if small-edits are enabled with extended world heights
108- if (version . isEqualOrHigherThan ( MinecraftVersion . CAVES_18 ) && Settings .settings ().HISTORY .SMALL_EDITS ) {
109- LOGGER .warn ("Small-edits enabled (maximum y range of 0 -> 256) with 1.18 world heights. Are you sure?" );
102+ if (Settings .settings ().HISTORY .SMALL_EDITS ) {
103+ LOGGER .warn ("Small-edits enabled (maximum y range of 0 -> 256) with 1.18+ world heights. Are you sure?" );
110104 }
111105 }
112106
@@ -302,11 +296,6 @@ public Preloader getPreloader(boolean initialise) {
302296 return null ;
303297 }
304298
305- @ Override
306- public boolean isChunksStretched () {
307- return chunksStretched ;
308- }
309-
310299 @ Override
311300 public FAWEPlatformAdapterImpl getPlatformAdapter () {
312301 return platformAdapter ;
0 commit comments