From 74bcd22974504cfa0335abdb400ec8b6c7a611ec Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Sun, 21 Nov 2021 19:29:17 +0100 Subject: [PATCH 1/5] Fixes normal Inventory being opened instead of EnderChest-Inventory closes #1 --- .../moderate/moderations/ViewEnderChestModeration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/songoda/ultimatemoderation/moderate/moderations/ViewEnderChestModeration.java b/src/main/java/com/songoda/ultimatemoderation/moderate/moderations/ViewEnderChestModeration.java index 7a5ab96..a8c240e 100644 --- a/src/main/java/com/songoda/ultimatemoderation/moderate/moderations/ViewEnderChestModeration.java +++ b/src/main/java/com/songoda/ultimatemoderation/moderate/moderations/ViewEnderChestModeration.java @@ -39,7 +39,7 @@ public class ViewEnderChestModeration extends AbstractModeration { protected boolean runModeration(CommandSender runner, OfflinePlayer toModerate) { Player toModeratePlayer = (Player) toModerate; - ((Player) runner).openInventory(toModeratePlayer.getInventory()); + ((Player) runner).openInventory(toModeratePlayer.getEnderChest()); return false; } } From d3c5e0907275063ac0420acdef6331261b98bbf9 Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Thu, 2 Dec 2021 18:17:58 +0100 Subject: [PATCH 2/5] Cleanup pom.xml --- pom.xml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index f6bd6d1..1eef07e 100644 --- a/pom.xml +++ b/pom.xml @@ -3,23 +3,28 @@ UltimateModeration 4.0.0 2.0.6 + clean install UltimateModeration-${project.version} + org.apache.maven.plugins maven-compiler-plugin 3.8.0 + 1.8 1.8 + com.google.code.maven-replacer-plugin replacer 1.5.3 + prepare-package @@ -28,6 +33,7 @@ + ${project.build.directory}/classes/plugin.yml @@ -38,6 +44,7 @@ + org.apache.maven.plugins maven-shade-plugin @@ -49,9 +56,11 @@ shade + false false + com.songoda:SongodaCore @@ -60,6 +69,7 @@ org.slf4j:slf4j-nop + *:* @@ -70,6 +80,7 @@ + com.songoda.core @@ -82,61 +93,72 @@ + apache.snapshots https://repository.apache.org/snapshots/ + - public + songoda-public https://repo.songoda.com/repository/public/ + jitpack.io - https://jitpack.io + https://jitpack.io/ + org.spigotmc spigot 1.17 + com.github.MilkBowl VaultAPI 1.7 provided + com.songoda abledskyblock 79.1 provided + com.songoda SongodaCore LATEST compile + com.zaxxer HikariCP 3.2.0 + org.xerial sqlite-jdbc 3.23.1 + org.slf4j slf4j-api 1.7.25 + org.slf4j slf4j-nop From 714ab2a14bc527173ff6be0c5a57c409a55595c4 Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Thu, 2 Dec 2021 18:18:17 +0100 Subject: [PATCH 3/5] Replace dependency `spigot` v1.17 with `spigot-api` v1.18 --- pom.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1eef07e..30ae13a 100644 --- a/pom.xml +++ b/pom.xml @@ -107,6 +107,11 @@ https://repo.songoda.com/repository/public/ + + spigotmc-repo + https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + jitpack.io https://jitpack.io/ @@ -116,8 +121,9 @@ org.spigotmc - spigot - 1.17 + spigot-api + 1.18-R0.1-SNAPSHOT + provided From e0f42f666558cec2778e513958415f9b57fc1000 Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Thu, 9 Dec 2021 04:58:17 +0100 Subject: [PATCH 4/5] Update SongodaCore from `LATEST` to `2.6.3` (MC 1.18 compatibility) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 30ae13a..807f613 100644 --- a/pom.xml +++ b/pom.xml @@ -143,7 +143,7 @@ com.songoda SongodaCore - LATEST + 2.6.3 compile From d0c8e50c8e9dbb92604d8116ce34d71631b515ff Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Thu, 9 Dec 2021 04:58:28 +0100 Subject: [PATCH 5/5] Version 2.0.7 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 807f613..1021574 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ com.songoda UltimateModeration 4.0.0 - 2.0.6 + 2.0.7 clean install