fixed up a few things about the armor command (eventually we'll like actually have a good inventory system, but this works for now)
This commit is contained in:
@@ -662,7 +662,7 @@ public class Bot extends EntityPlayer {
|
||||
setItem(item, EnumItemSlot.OFFHAND);
|
||||
}
|
||||
|
||||
private void setItem(org.bukkit.inventory.ItemStack item, EnumItemSlot slot) {
|
||||
public void setItem(org.bukkit.inventory.ItemStack item, EnumItemSlot slot) {
|
||||
if (item == null) item = defaultItem;
|
||||
|
||||
if (slot == EnumItemSlot.MAINHAND) {
|
||||
|
||||
Reference in New Issue
Block a user