moldy fixes

This commit is contained in:
Bob 2022-12-06 21:58:24 +01:00
parent f8f31f28d4
commit fd1cce407c
2 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ public class ItemMold extends Item {
String od = shape.name().toLowerCase() + name;
List<ItemStack> ores = OreDictionary.getOres(od);
if(!ores.isEmpty()) {
ItemStack copy = ores.get(0);
ItemStack copy = ores.get(0).copy();
copy.stackSize = this.amount;
return copy;
}

View File

@ -54,7 +54,7 @@ public class TileEntityMachineOrbus extends TileEntityBarrel {
for(int i = -1; i < 6; i += 6) {
ForgeDirection out = i == -1 ? ForgeDirection.DOWN : ForgeDirection.UP;
int index = i == -1 ? 0 : 1;
int index = i == -1 ? 0 : 4;
conPos[index + 0] = new DirPos(xCoord, yCoord + i, zCoord, out);
conPos[index + 1] = new DirPos(xCoord + dir.offsetX, yCoord + i, zCoord + dir.offsetZ, out);
conPos[index + 2] = new DirPos(xCoord + rot.offsetX, yCoord + i, zCoord + rot.offsetZ, out);