mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-13 15:16:50 +01:00
Remove itemstack placeholders from paraminfoblock
This commit is contained in:
parent
b4de52a9db
commit
78b19d5596
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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%");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user