Upstream Paper
This commit is contained in:
@@ -38,4 +38,14 @@ public class CraftVex extends CraftMonster implements Vex {
|
||||
public EntityType getType() {
|
||||
return EntityType.VEX;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCharging() {
|
||||
return getHandle().dA();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCharging(boolean charging) {
|
||||
getHandle().a(charging);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ public class InventoryWrapper implements IInventory {
|
||||
List<ItemStack> items = new ArrayList<ItemStack>(size);
|
||||
|
||||
for (int i = 0; i < size; i++) {
|
||||
items.set(i, getItem(i));
|
||||
items.add(getItem(i));
|
||||
}
|
||||
|
||||
return items;
|
||||
|
||||
Reference in New Issue
Block a user