Remove itemstack placeholders from paraminfoblock

This commit is contained in:
libraryaddict 2020-06-30 17:02:59 +12:00
parent b4de52a9db
commit 78b19d5596
2 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<!-- A good example on why temporary names for project identification shouldn't be used -->
<groupId>LibsDisguises</groupId>
<artifactId>LibsDisguises</artifactId>
<version>10.0.13</version>
<version>10.0.13-SNAPSHOT</version>
<build>
<defaultGoal>exec:java clean install</defaultGoal>

View File

@ -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%");
}