From 35663a796a5cd6d4477aec3ef2a267d19c2c5d29 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Sun, 30 Jun 2024 10:47:18 +0100 Subject: [PATCH] Cleanup and add for 1.21 --- .../adapter/ext/fawe/v1_20_R2/PaperweightAdapter.java | 2 +- .../impl/fawe/v1_20_R2/PaperweightFaweAdapter.java | 10 +++++----- .../fawe/v1_20_R2/PaperweightPlatformAdapter.java | 6 ------ .../impl/fawe/v1_20_R3/PaperweightFaweAdapter.java | 10 +++++----- .../fawe/v1_20_R3/PaperweightPlatformAdapter.java | 6 ------ .../impl/fawe/v1_20_R4/PaperweightFaweAdapter.java | 10 +++++----- .../fawe/v1_20_R4/PaperweightPlatformAdapter.java | 6 ------ .../fawe/v1_21_R1/FaweBlockStateListPopulator.java | 11 ++++++++--- .../impl/fawe/v1_21_R1/PaperweightFaweAdapter.java | 11 +++++------ 9 files changed, 29 insertions(+), 43 deletions(-) diff --git a/worldedit-bukkit/adapters/adapter-1_20_2/src/main/java/com/sk89q/worldedit/bukkit/adapter/ext/fawe/v1_20_R2/PaperweightAdapter.java b/worldedit-bukkit/adapters/adapter-1_20_2/src/main/java/com/sk89q/worldedit/bukkit/adapter/ext/fawe/v1_20_R2/PaperweightAdapter.java index 4d27d0706..85da7a7c8 100644 --- a/worldedit-bukkit/adapters/adapter-1_20_2/src/main/java/com/sk89q/worldedit/bukkit/adapter/ext/fawe/v1_20_R2/PaperweightAdapter.java +++ b/worldedit-bukkit/adapters/adapter-1_20_2/src/main/java/com/sk89q/worldedit/bukkit/adapter/ext/fawe/v1_20_R2/PaperweightAdapter.java @@ -651,7 +651,7 @@ public final class PaperweightAdapter implements BukkitImplAdapter createWorldNativeAccess(org.bukkit.World world) { + public WorldNativeAccess createWorldNativeAccess(World world) { return new PaperweightFaweWorldNativeAccess(this, new WeakReference<>(getServerLevel(world))); } @@ -449,7 +449,7 @@ public final class PaperweightFaweAdapter extends FaweAdapter createWorldNativeAccess(org.bukkit.World world) { + public WorldNativeAccess createWorldNativeAccess(World world) { return new PaperweightFaweWorldNativeAccess(this, new WeakReference<>(getServerLevel(world))); } @@ -449,7 +449,7 @@ public final class PaperweightFaweAdapter extends FaweAdapter createWorldNativeAccess(org.bukkit.World world) { + public WorldNativeAccess createWorldNativeAccess(World world) { return new PaperweightFaweWorldNativeAccess(this, new WeakReference<>(getServerLevel(world))); } @@ -457,7 +457,7 @@ public final class PaperweightFaweAdapter extends FaweAdapter createWorldNativeAccess(org.bukkit.World world) { + public WorldNativeAccess createWorldNativeAccess(World world) { return new PaperweightFaweWorldNativeAccess(this, new WeakReference<>(getServerLevel(world))); } @@ -457,7 +457,7 @@ public final class PaperweightFaweAdapter extends FaweAdapter