mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-04 08:59:47 +01:00
Added TreeSpecies to disguise parameter options
This commit is contained in:
parent
bcc4bdd2a2
commit
82db8d190b
@ -836,6 +836,10 @@ public class DisguiseParser {
|
||||
// Parse to ocelot type
|
||||
value = callValueOf(param, valueString, methodName, "a ocelot type");
|
||||
}
|
||||
else if (param.getSimpleName().equals("TreeSpecies")) {
|
||||
// Parse to ocelot type
|
||||
value = callValueOf(param, valueString, methodName, "a tree species");
|
||||
}
|
||||
else if (param == PotionEffectType.class) {
|
||||
// Parse to potion effect
|
||||
try {
|
||||
|
@ -10,6 +10,7 @@ import java.util.Iterator;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.bukkit.Art;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.TreeSpecies;
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.entity.Horse;
|
||||
import org.bukkit.entity.Llama;
|
||||
@ -140,6 +141,7 @@ public class ReflectionFlagWatchers {
|
||||
paramList.add(new ParamInfo(BlockFace.class, Arrays.copyOf(BlockFace.values(), 5), "Direction",
|
||||
"View the five directions usable on player setSleeping disguise"));
|
||||
paramList.add(new ParamInfo(Rabbit.Type.class, "Rabbit Type", "View the kinds of rabbits you can turn into"));
|
||||
paramList.add(new ParamInfo(TreeSpecies.class, "Tree Species", "View the different types of tree species"));
|
||||
|
||||
ArrayList<String> potionEnums = new ArrayList<String>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user