From 04dfcd0965bcd110507586aa3bbd57c2aed4a5bd Mon Sep 17 00:00:00 2001 From: pop4959 Date: Wed, 22 Jan 2020 00:18:46 -0800 Subject: [PATCH] Bump supported version to 1.15.2 --- Essentials/src/com/earth2me/essentials/OfflinePlayer.java | 8 ++++++++ .../src/com/earth2me/essentials/utils/VersionUtil.java | 3 ++- pom.xml | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/OfflinePlayer.java b/Essentials/src/com/earth2me/essentials/OfflinePlayer.java index 46f0e14f9..8dba067a8 100644 --- a/Essentials/src/com/earth2me/essentials/OfflinePlayer.java +++ b/Essentials/src/com/earth2me/essentials/OfflinePlayer.java @@ -653,6 +653,14 @@ public class OfflinePlayer implements Player { public void setTotalExperience(int i) { } + @Override + public void sendExperienceChange(float v) { + } + + @Override + public void sendExperienceChange(float v, int i) { + } + @Override public float getExhaustion() { return 0F; diff --git a/Essentials/src/com/earth2me/essentials/utils/VersionUtil.java b/Essentials/src/com/earth2me/essentials/utils/VersionUtil.java index ed0cf4815..7688a9cf8 100644 --- a/Essentials/src/com/earth2me/essentials/utils/VersionUtil.java +++ b/Essentials/src/com/earth2me/essentials/utils/VersionUtil.java @@ -24,8 +24,9 @@ public class VersionUtil { public static final BukkitVersion v1_14_4_R01 = BukkitVersion.fromString("1.14.4-R0.1-SNAPSHOT"); public static final BukkitVersion v1_15_R01 = BukkitVersion.fromString("1.15-R0.1-SNAPSHOT"); public static final BukkitVersion v1_15_1_R01 = BukkitVersion.fromString("1.15.1-R0.1-SNAPSHOT"); + public static final BukkitVersion v1_15_2_R01 = BukkitVersion.fromString("1.15.2-R0.1-SNAPSHOT"); - private static final Set supportedVersions = ImmutableSet.of(v1_8_8_R01, v1_9_4_R01, v1_10_2_R01, v1_11_2_R01, v1_12_2_R01, v1_13_2_R01, v1_14_4_R01, v1_15_1_R01); + private static final Set supportedVersions = ImmutableSet.of(v1_8_8_R01, v1_9_4_R01, v1_10_2_R01, v1_11_2_R01, v1_12_2_R01, v1_13_2_R01, v1_14_4_R01, v1_15_2_R01); private static BukkitVersion serverVersion = null; diff --git a/pom.xml b/pom.xml index 78d7c6c73..0c5658d86 100644 --- a/pom.xml +++ b/pom.xml @@ -62,7 +62,7 @@ org.bukkit bukkit - 1.15.1-R0.1-SNAPSHOT + 1.15.2-R0.1-SNAPSHOT provided