mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
moldy fixes
This commit is contained in:
parent
f8f31f28d4
commit
fd1cce407c
@ -182,7 +182,7 @@ public class ItemMold extends Item {
|
|||||||
String od = shape.name().toLowerCase() + name;
|
String od = shape.name().toLowerCase() + name;
|
||||||
List<ItemStack> ores = OreDictionary.getOres(od);
|
List<ItemStack> ores = OreDictionary.getOres(od);
|
||||||
if(!ores.isEmpty()) {
|
if(!ores.isEmpty()) {
|
||||||
ItemStack copy = ores.get(0);
|
ItemStack copy = ores.get(0).copy();
|
||||||
copy.stackSize = this.amount;
|
copy.stackSize = this.amount;
|
||||||
return copy;
|
return copy;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -54,7 +54,7 @@ public class TileEntityMachineOrbus extends TileEntityBarrel {
|
|||||||
|
|
||||||
for(int i = -1; i < 6; i += 6) {
|
for(int i = -1; i < 6; i += 6) {
|
||||||
ForgeDirection out = i == -1 ? ForgeDirection.DOWN : ForgeDirection.UP;
|
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 + 0] = new DirPos(xCoord, yCoord + i, zCoord, out);
|
||||||
conPos[index + 1] = new DirPos(xCoord + dir.offsetX, yCoord + i, zCoord + dir.offsetZ, 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);
|
conPos[index + 2] = new DirPos(xCoord + rot.offsetX, yCoord + i, zCoord + rot.offsetZ, out);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user