From 9e9c509f9b6b5c8d9fac2a4ca8740674040af564 Mon Sep 17 00:00:00 2001 From: Gregory DALMAR Date: Thu, 12 Nov 2020 14:54:52 +0100 Subject: [PATCH] Change plotsquared repo to official new repo and add support for 1.16.4 (#351) Thank you :) --- pom.xml | 4 ++-- src/main/java/de/epiceric/shopchest/utils/Utils.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 0b9fd7d..1327ae6 100644 --- a/pom.xml +++ b/pom.xml @@ -89,7 +89,7 @@ plotsquared-repo - https://mvn.intellectualsites.com/content/groups/public/ + https://plotsquared.com/mvn/ @@ -97,7 +97,7 @@ org.spigotmc spigot-api - 1.16.2-R0.1-SNAPSHOT + 1.16.4-R0.1-SNAPSHOT provided diff --git a/src/main/java/de/epiceric/shopchest/utils/Utils.java b/src/main/java/de/epiceric/shopchest/utils/Utils.java index 4b90028..f8d24d8 100644 --- a/src/main/java/de/epiceric/shopchest/utils/Utils.java +++ b/src/main/java/de/epiceric/shopchest/utils/Utils.java @@ -412,7 +412,7 @@ public class Utils { dataWatcherObjectFieldNames = new String[] {"T", "AIR_TICKS", "aA", "az", "aB", "aC", "ITEM", "b"}; } else if ("v1_16_R1".equals(version)) { dataWatcherObjectFieldNames = new String[] {"T", "AIR_TICKS", "ay", "ax", "az", "aA", "ITEM", "b"}; - } else if ("v1_16_R2".equals(version)) { + } else if ("v1_16_R2".equals(version) || "v1_16_R3".equals(version)) { dataWatcherObjectFieldNames = new String[] {"S", "AIR_TICKS", "ar", "aq", "as", "at", "ITEM", "b"}; } else { return null;