From 78b19d55965598546f27d65fcf3dee28862fc758 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Tue, 30 Jun 2020 17:02:59 +1200 Subject: [PATCH] Remove itemstack placeholders from paraminfoblock --- pom.xml | 2 +- .../utilities/params/types/custom/ParamInfoItemStack.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c4bec689..b61c899a 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ LibsDisguises LibsDisguises - 10.0.13 + 10.0.13-SNAPSHOT exec:java clean install diff --git a/src/main/java/me/libraryaddict/disguise/utilities/params/types/custom/ParamInfoItemStack.java b/src/main/java/me/libraryaddict/disguise/utilities/params/types/custom/ParamInfoItemStack.java index 15f4c722..e48300bb 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/params/types/custom/ParamInfoItemStack.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/params/types/custom/ParamInfoItemStack.java @@ -24,6 +24,9 @@ public class ParamInfoItemStack extends ParamInfoEnum { Enum[] possibleValues) { super(paramClass, name, valueType, description, possibleValues); + if (this instanceof ParamInfoItemBlock) + return; + setOtherValues("null", "%held-item%", "%offhand-item%", "%helmet%", "%chestplate%", "%leggings%", "%boots%"); }