diff --git a/.idea/compiler.xml b/.idea/compiler.xml
index 9c41e5e..32af5e9 100644
--- a/.idea/compiler.xml
+++ b/.idea/compiler.xml
@@ -11,7 +11,7 @@
-
+
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
index a709c9e..535dcae 100644
--- a/.idea/jarRepositories.xml
+++ b/.idea/jarRepositories.xml
@@ -41,5 +41,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/dependency-reduced-pom.xml b/dependency-reduced-pom.xml
index 6021957..3ab5378 100644
--- a/dependency-reduced-pom.xml
+++ b/dependency-reduced-pom.xml
@@ -4,7 +4,7 @@
net.seanomik
energeticstorage
EnergeticStorage
- 0.4-SNAPSHOT
+ 0.7-SNAPSHOT
clean package
@@ -24,7 +24,7 @@
maven-shade-plugin
- 3.1.0
+ 3.3.0-SNAPSHOT
shade
@@ -39,6 +39,7 @@
de.tr7zw.nbtapi.energeticstorage
+ D:\Code\java\spigotPlugins\servers\${server.version}\plugins\EnergeticStorage-v${project.version}.jar
@@ -59,10 +60,16 @@
https://repo.codemc.org/repository/maven-public/
- jitpack.io
- https://jitpack.io
+ codemc-snapshots
+ https://repo.codemc.io/repository/maven-snapshots/
+
+
+ apache.snapshots
+ https://repository.apache.org/snapshots/
+
+
org.spigotmc
@@ -74,6 +81,6 @@
1.8
UTF-8
+ 1.17
-
diff --git a/pom.xml b/pom.xml
index a8b34f5..b4923e0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
net.seanomik
energeticstorage
- 0.6.1-SNAPSHOT
+ 0.7-SNAPSHOT
jar
EnergeticStorage
@@ -14,6 +14,7 @@
1.8
UTF-8
+ 1.17
@@ -31,7 +32,7 @@
org.apache.maven.plugins
maven-shade-plugin
- 3.1.0
+ 3.3.0-SNAPSHOT
shade
@@ -47,18 +48,7 @@
-
-
-
-
-
-
- D:\Code\java\spigotPlugins\_TEST_SERVER_1.16.5_\plugins\EnergeticStorage-v${project.version}.jar
-
-
-
-
-
+ D:\Code\java\spigotPlugins\servers\${server.version}\plugins\EnergeticStorage-v${project.version}.jar
@@ -72,6 +62,14 @@
+
+
+
+ apache.snapshots
+ https://repository.apache.org/snapshots/
+
+
+
spigotmc-repo
@@ -102,12 +100,12 @@
de.tr7zw
item-nbt-api
- 2.7.1
+ 2.8.0
net.wesjd
anvilgui
- 1.5.0-SNAPSHOT
+ 1.5.1-SNAPSHOT
com.googlecode.json-simple
diff --git a/src/main/java/net/seanomik/energeticstorage/utils/Utils.java b/src/main/java/net/seanomik/energeticstorage/utils/Utils.java
index 7477e10..193a912 100644
--- a/src/main/java/net/seanomik/energeticstorage/utils/Utils.java
+++ b/src/main/java/net/seanomik/energeticstorage/utils/Utils.java
@@ -136,7 +136,7 @@ public class Utils {
String version = Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3];
NBTCompound ownerNBT;
- if (version.startsWith("v1_16")) {
+ if (blockNBT.hasKey("SkullOwner")) {
ownerNBT = blockNBT.getCompound("SkullOwner");
} else {
ownerNBT = blockNBT.getCompound("Owner");