mirror of
https://github.com/songoda/EpicVouchers.git
synced 2024-11-22 01:56:21 +01:00
1.15
This commit is contained in:
parent
b52f432a04
commit
ecd8b99a88
2
pom.xml
2
pom.xml
@ -75,7 +75,7 @@
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot</artifactId>
|
||||
<version>1.14.4</version>
|
||||
<version>1.15</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
@ -162,7 +162,7 @@ public class ItemBuilder {
|
||||
* Unbreakability:
|
||||
*/
|
||||
public boolean isUnbreakable() {
|
||||
return meta.spigot().isUnbreakable();
|
||||
return meta.isUnbreakable();
|
||||
}
|
||||
|
||||
public ItemBuilder unbreakable() {
|
||||
@ -171,7 +171,7 @@ public class ItemBuilder {
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public ItemBuilder unbreakable(boolean unbreakable) {
|
||||
meta.spigot().setUnbreakable(unbreakable);
|
||||
meta.setUnbreakable(unbreakable);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@ -95,7 +95,7 @@ public class Voucher {
|
||||
}
|
||||
|
||||
if (unbreakable) {
|
||||
meta.spigot().setUnbreakable(true);
|
||||
meta.setUnbreakable(true);
|
||||
}
|
||||
|
||||
if (hideAttributes) {
|
||||
|
Loading…
Reference in New Issue
Block a user