diff --git a/pom.xml b/pom.xml
index 3193a6fae..3e178eb1c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,7 +68,7 @@
2.0.9
3.12.8
- 1.17-R0.1-SNAPSHOT
+ 1.16.5-R0.1-SNAPSHOT
1.16.5-R0.1-SNAPSHOT
@@ -83,7 +83,7 @@
-LOCAL
- 1.18.1
+ 1.16.6
bentobox-world
https://sonarcloud.io
diff --git a/src/main/java/world/bentobox/bentobox/blueprints/BlueprintClipboard.java b/src/main/java/world/bentobox/bentobox/blueprints/BlueprintClipboard.java
index 7d0c01b82..24003f22c 100644
--- a/src/main/java/world/bentobox/bentobox/blueprints/BlueprintClipboard.java
+++ b/src/main/java/world/bentobox/bentobox/blueprints/BlueprintClipboard.java
@@ -220,7 +220,6 @@ private BlueprintBlock bluePrintBlock(Vector pos, Block block) {
// Signs
if (blockState instanceof Sign sign) {
b.setSignLines(Arrays.asList(sign.getLines()));
- b.setGlowingText(sign.isGlowingText());
}
// Set block data
if (blockState.getData() instanceof Attachable) {
diff --git a/src/main/java/world/bentobox/bentobox/blueprints/BlueprintPaster.java b/src/main/java/world/bentobox/bentobox/blueprints/BlueprintPaster.java
index 6528f58bd..7ee35d161 100644
--- a/src/main/java/world/bentobox/bentobox/blueprints/BlueprintPaster.java
+++ b/src/main/java/world/bentobox/bentobox/blueprints/BlueprintPaster.java
@@ -428,7 +428,6 @@ private void writeSign(final Block block, final List lines, boolean glow
s.setLine(i, lines.get(i));
}
}
- s.setGlowingText(glow);
// Update the sign
s.update();
}
diff --git a/src/main/java/world/bentobox/bentobox/nms/v1_17_R1/NMSHandler.java b/src/main/java/world/bentobox/bentobox/nms/v1_16_R3/NMSHandler.java
similarity index 73%
rename from src/main/java/world/bentobox/bentobox/nms/v1_17_R1/NMSHandler.java
rename to src/main/java/world/bentobox/bentobox/nms/v1_16_R3/NMSHandler.java
index 7d807f559..4819a3511 100644
--- a/src/main/java/world/bentobox/bentobox/nms/v1_17_R1/NMSHandler.java
+++ b/src/main/java/world/bentobox/bentobox/nms/v1_16_R3/NMSHandler.java
@@ -1,15 +1,15 @@
-package world.bentobox.bentobox.nms.v1_17_R1;
+package world.bentobox.bentobox.nms.v1_16_R3;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.block.data.BlockData;
-import org.bukkit.craftbukkit.v1_17_R1.CraftWorld;
-import org.bukkit.craftbukkit.v1_17_R1.block.data.CraftBlockData;
+import org.bukkit.craftbukkit.v1_16_R3.CraftWorld;
+import org.bukkit.craftbukkit.v1_16_R3.block.data.CraftBlockData;
-import net.minecraft.core.BlockPosition;
-import net.minecraft.world.level.World;
-import net.minecraft.world.level.block.state.IBlockData;
-import net.minecraft.world.level.chunk.Chunk;
+import net.minecraft.server.v1_16_R3.BlockPosition;
+import net.minecraft.server.v1_16_R3.Chunk;
+import net.minecraft.server.v1_16_R3.IBlockData;
+import net.minecraft.server.v1_16_R3.World;
import world.bentobox.bentobox.nms.NMSAbstraction;
diff --git a/src/main/java/world/bentobox/bentobox/versions/ServerCompatibility.java b/src/main/java/world/bentobox/bentobox/versions/ServerCompatibility.java
index fb966c959..377c747b4 100644
--- a/src/main/java/world/bentobox/bentobox/versions/ServerCompatibility.java
+++ b/src/main/java/world/bentobox/bentobox/versions/ServerCompatibility.java
@@ -178,16 +178,16 @@ public enum ServerVersion {
/**
* @since 1.16.0
*/
- V1_16_5(Compatibility.INCOMPATIBLE),
+ V1_16_5(Compatibility.COMPATIBLE),
/**
* @since 1.17.0
*/
- V1_17(Compatibility.COMPATIBLE),
+ V1_17(Compatibility.INCOMPATIBLE),
/**
* @since 1.17.1
*/
- V1_17_1(Compatibility.COMPATIBLE)
+ V1_17_1(Compatibility.INCOMPATIBLE)
;
private final Compatibility compatibility;
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index 351640149..c2daf88e1 100644
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -1,7 +1,7 @@
name: BentoBox
main: world.bentobox.bentobox.BentoBox
version: ${project.version}${build.number}
-api-version: "1.17"
+api-version: "1.16"
authors: [tastybento, Poslovitch]
contributors: ["The BentoBoxWorld Community"]
diff --git a/src/test/java/world/bentobox/bentobox/listeners/flags/clicklisteners/GeoMobLimitTabTest.java b/src/test/java/world/bentobox/bentobox/listeners/flags/clicklisteners/GeoMobLimitTabTest.java
index 2fada2569..7725c5b89 100644
--- a/src/test/java/world/bentobox/bentobox/listeners/flags/clicklisteners/GeoMobLimitTabTest.java
+++ b/src/test/java/world/bentobox/bentobox/listeners/flags/clicklisteners/GeoMobLimitTabTest.java
@@ -78,7 +78,7 @@ public void setUp() throws Exception {
when(plugin.getIWM()).thenReturn(iwm);
when(iwm.getAddon(any())).thenReturn(Optional.of(gma));
list = new ArrayList<>();
- list.add("AXOLOTL");
+ //list.add("AXOLOTL");
list.add("BAT");
list.add("COW");
when(iwm.getMobLimitSettings(any())).thenReturn(list);
@@ -103,24 +103,20 @@ public void tearDown() {
@Test
public void testOnClick() {
GeoMobLimitTab tab = new GeoMobLimitTab(user, EntityLimitTabType.GEO_LIMIT, world);
- // AXOLOTL, BAT, and COW in list
- assertEquals(3, list.size());
- assertEquals("COW", list.get(2));
- assertEquals("BAT", list.get(1));
- assertEquals("AXOLOTL", list.get(0));
-
- // Click on AXOLOTL
- tab.onClick(panel, user, ClickType.LEFT, 9);
- list.forEach(System.out::println);
+ // BAT, and COW in list
assertEquals(2, list.size());
assertEquals("COW", list.get(1));
assertEquals("BAT", list.get(0));
- // Click on AXOLOTL again to have it added
+
+ // Click on BAT
tab.onClick(panel, user, ClickType.LEFT, 9);
- assertEquals(3, list.size());
- assertEquals("BAT", list.get(0));
- assertEquals("COW", list.get(1));
- assertEquals("AXOLOTL", list.get(2));
+ assertEquals(1, list.size());
+ assertEquals("COW", list.get(0));
+ // Click on BAT again to have it added
+ tab.onClick(panel, user, ClickType.LEFT, 9);
+ assertEquals(2, list.size());
+ assertEquals("COW", list.get(0));
+ assertEquals("BAT", list.get(1));
verify(gma, times(2)).saveWorldSettings();
}