diff --git a/README.md b/README.md
index 6f183bd..2618d1a 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ Development builds are always available at: **https://ci.codemc.io/job/AlbeMigli
it.mycraft
powerlib-
- 1.2.14-SNAPSHOT
+ 1.2.15-SNAPSHOT
provided
@@ -61,7 +61,7 @@ repositories {
}
dependencies {
- compileOnly 'it.mycraft:powerlib-:1.2.14-SNAPSHOT'
+ compileOnly 'it.mycraft:powerlib-:1.2.15-SNAPSHOT'
}
```
@@ -82,7 +82,7 @@ your plugin and rename its packages:
it.mycraft
powerlib-
- 1.2.14-SNAPSHOT
+ 1.2.15-SNAPSHOT
compile
diff --git a/all/pom.xml b/all/pom.xml
index 87afc8d..4b087ee 100644
--- a/all/pom.xml
+++ b/all/pom.xml
@@ -5,7 +5,7 @@
powerlib
it.mycraft
- 1.2.14-SNAPSHOT
+ 1.2.15-SNAPSHOT
4.0.0
diff --git a/bukkit-plugin/pom.xml b/bukkit-plugin/pom.xml
index 232c15a..7e53e41 100644
--- a/bukkit-plugin/pom.xml
+++ b/bukkit-plugin/pom.xml
@@ -5,7 +5,7 @@
it.mycraft
powerlib
- 1.2.14-SNAPSHOT
+ 1.2.15-SNAPSHOT
4.0.0
jar
diff --git a/bukkit-plugin/src/main/resources/config.yml b/bukkit-plugin/src/main/resources/config.yml
index fd2a0d7..d73319a 100644
--- a/bukkit-plugin/src/main/resources/config.yml
+++ b/bukkit-plugin/src/main/resources/config.yml
@@ -1,4 +1,4 @@
#
-# PowerLib v1.2.14-SNAPSHOT
+# PowerLib v1.2.15-SNAPSHOT
#
check-for-updates: true
\ No newline at end of file
diff --git a/bukkit-plugin/src/main/resources/plugin.yml b/bukkit-plugin/src/main/resources/plugin.yml
index d500cf2..47bba10 100644
--- a/bukkit-plugin/src/main/resources/plugin.yml
+++ b/bukkit-plugin/src/main/resources/plugin.yml
@@ -1,4 +1,4 @@
name: PowerLib
authors: [AlbeMiglio, FranFrau]
main: it.mycraft.powerlib.bukkit.PowerLibPlugin
-version: 1.2.14-SNAPSHOT
\ No newline at end of file
+version: 1.2.15-SNAPSHOT
\ No newline at end of file
diff --git a/bukkit/pom.xml b/bukkit/pom.xml
index 881c406..32be101 100644
--- a/bukkit/pom.xml
+++ b/bukkit/pom.xml
@@ -5,7 +5,7 @@
it.mycraft
powerlib
- 1.2.14-SNAPSHOT
+ 1.2.15-SNAPSHOT
4.0.0
diff --git a/bukkit/src/main/java/it/mycraft/powerlib/bukkit/item/ItemBuilder.java b/bukkit/src/main/java/it/mycraft/powerlib/bukkit/item/ItemBuilder.java
index e02912a..6b1f71e 100644
--- a/bukkit/src/main/java/it/mycraft/powerlib/bukkit/item/ItemBuilder.java
+++ b/bukkit/src/main/java/it/mycraft/powerlib/bukkit/item/ItemBuilder.java
@@ -86,7 +86,7 @@ public ItemBuilder setMaterial(Material material) {
* @return The ItemBuilder
*/
public ItemBuilder setMaterial(String material) {
- if (!material.startsWith("itemsadder:")) {
+ if (material.length() > 11 && !material.startsWith("itemsadder:")) {
Optional optMaterial = Enums.getIfPresent(Material.class, material).toJavaUtil();
if (optMaterial.isPresent())
this.material = optMaterial.get().toString();
diff --git a/bungee-plugin/pom.xml b/bungee-plugin/pom.xml
index a82cebf..0d02ca6 100644
--- a/bungee-plugin/pom.xml
+++ b/bungee-plugin/pom.xml
@@ -5,7 +5,7 @@
powerlib
it.mycraft
- 1.2.14-SNAPSHOT
+ 1.2.15-SNAPSHOT
4.0.0
diff --git a/bungee-plugin/src/main/resources/bungee.yml b/bungee-plugin/src/main/resources/bungee.yml
index b18ce98..0ef1a12 100644
--- a/bungee-plugin/src/main/resources/bungee.yml
+++ b/bungee-plugin/src/main/resources/bungee.yml
@@ -2,4 +2,4 @@ name: PowerLib
author: AlbeMiglio
authors: [AlbeMiglio, FranFrau]
main: it.mycraft.powerlib.bungee.PowerLibPlugin
-version: 1.2.14-SNAPSHOT
\ No newline at end of file
+version: 1.2.15-SNAPSHOT
\ No newline at end of file
diff --git a/bungee-plugin/src/main/resources/config.yml b/bungee-plugin/src/main/resources/config.yml
index fd2a0d7..d73319a 100644
--- a/bungee-plugin/src/main/resources/config.yml
+++ b/bungee-plugin/src/main/resources/config.yml
@@ -1,4 +1,4 @@
#
-# PowerLib v1.2.14-SNAPSHOT
+# PowerLib v1.2.15-SNAPSHOT
#
check-for-updates: true
\ No newline at end of file
diff --git a/bungee/pom.xml b/bungee/pom.xml
index 42a225f..08fbad1 100644
--- a/bungee/pom.xml
+++ b/bungee/pom.xml
@@ -5,7 +5,7 @@
powerlib
it.mycraft
- 1.2.14-SNAPSHOT
+ 1.2.15-SNAPSHOT
4.0.0
diff --git a/common/pom.xml b/common/pom.xml
index 7600eec..083ddae 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -5,7 +5,7 @@
powerlib
it.mycraft
- 1.2.14-SNAPSHOT
+ 1.2.15-SNAPSHOT
4.0.0
diff --git a/pom.xml b/pom.xml
index 27d29cc..6f12c5c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
it.mycraft
powerlib
pom
- ${revision}
+ 1.2.15-SNAPSHOT
MIT License
@@ -38,7 +38,7 @@
- 1.2.14-SNAPSHOT
+ ${version}
9
${java.version}
${java.version}
diff --git a/velocity-plugin/pom.xml b/velocity-plugin/pom.xml
index b8bc783..a9edfc7 100644
--- a/velocity-plugin/pom.xml
+++ b/velocity-plugin/pom.xml
@@ -4,13 +4,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://www.apache.org/xsd/maven-4.0.0.xsd">
powerlib
- ${revision}
+ 1.2.15-SNAPSHOT
it.mycraft
4.0.0
powerlib-velocity-plugin
- ${revision}
UTF-8
@@ -36,7 +35,7 @@
org.projectlombok
lombok
- 1.18.22
+ 1.18.28
@@ -118,6 +117,17 @@
3.0.2
compile
+
+ org.mariadb.jdbc
+ mariadb-java-client
+ 3.1.0
+
+
+ com.github.waffle
+ waffle-jna
+
+
+
\ No newline at end of file
diff --git a/velocity-plugin/src/main/java/it/mycraft/powerlib/velocity/PowerLibPlugin.java b/velocity-plugin/src/main/java/it/mycraft/powerlib/velocity/PowerLibPlugin.java
index fb69582..6d904c4 100644
--- a/velocity-plugin/src/main/java/it/mycraft/powerlib/velocity/PowerLibPlugin.java
+++ b/velocity-plugin/src/main/java/it/mycraft/powerlib/velocity/PowerLibPlugin.java
@@ -24,7 +24,7 @@
import java.nio.file.Path;
@Getter
-@Plugin(id = "powerlib", name = "PowerLib", version = "1.2.14-SNAPSHOT", authors = {"AlbeMiglio", "FranFrau"})
+@Plugin(id = "powerlib", name = "PowerLib", version = "1.2.15-SNAPSHOT", authors = {"AlbeMiglio", "FranFrau"})
public class PowerLibPlugin {
private ProxyServer proxy;
diff --git a/velocity-plugin/src/main/resources/velocity-plugin.json b/velocity-plugin/src/main/resources/velocity-plugin.json
index 8e0c08a..cc67398 100644
--- a/velocity-plugin/src/main/resources/velocity-plugin.json
+++ b/velocity-plugin/src/main/resources/velocity-plugin.json
@@ -1,2 +1,2 @@
-{"id":"powerlib","name":"PowerLib","version":"1.2.14-SNAPSHOT","authors":["AlbeMiglio","FranFrau"],
+{"id":"powerlib","name":"PowerLib","version":"1.2.15-SNAPSHOT","authors":["AlbeMiglio","FranFrau"],
"dependencies":[],"main":"it.mycraft.powerlib.velocity.PowerLibPlugin"}
\ No newline at end of file
diff --git a/velocity/pom.xml b/velocity/pom.xml
index 78ecf9b..31a7084 100644
--- a/velocity/pom.xml
+++ b/velocity/pom.xml
@@ -6,11 +6,10 @@
powerlib
- ${revision}
+ 1.2.15-SNAPSHOT
it.mycraft
powerlib-velocity
- ${revision}
${java.version}
@@ -29,7 +28,7 @@
it.mycraft
powerlib-common
- ${project.version}
+ 1.2.15-SNAPSHOT
net.kyori
@@ -41,7 +40,7 @@
com.velocitypowered
velocity-api
- 3.2.0-SNAPSHOT
+ 3.3.0-SNAPSHOT
provided