Add set/get boots,leggings,chestplate,helmet
This commit is contained in:
parent
3a2c121f0f
commit
d65c9179da
@ -84,6 +84,38 @@ public class FlagWatcher {
|
|||||||
return cloned;
|
return cloned;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ItemStack getHelmet() {
|
||||||
|
return getEquipment().getHelmet();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setHelmet(ItemStack itemStack) {
|
||||||
|
getEquipment().setHelmet(itemStack);
|
||||||
|
}
|
||||||
|
|
||||||
|
public ItemStack getBoots() {
|
||||||
|
return getEquipment().getBoots();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBoots(ItemStack itemStack) {
|
||||||
|
getEquipment().setBoots(itemStack);
|
||||||
|
}
|
||||||
|
|
||||||
|
public ItemStack getLeggings() {
|
||||||
|
return getEquipment().getLeggings();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLeggings(ItemStack itemStack) {
|
||||||
|
getEquipment().setLeggings(itemStack);
|
||||||
|
}
|
||||||
|
|
||||||
|
public ItemStack getChestplate() {
|
||||||
|
return getEquipment().getChestplate();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setChestplate(ItemStack itemStack) {
|
||||||
|
getEquipment().setChestplate(itemStack);
|
||||||
|
}
|
||||||
|
|
||||||
public List<WrappedWatchableObject> convert(List<WrappedWatchableObject> list) {
|
public List<WrappedWatchableObject> convert(List<WrappedWatchableObject> list) {
|
||||||
List<WrappedWatchableObject> newList = new ArrayList<>();
|
List<WrappedWatchableObject> newList = new ArrayList<>();
|
||||||
HashSet<Integer> sentValues = new HashSet<>();
|
HashSet<Integer> sentValues = new HashSet<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user