Fixed imprinter dupe
Before Width: | Height: | Size: 7 KiB After Width: | Height: | Size: 7 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 718 B After Width: | Height: | Size: 718 B |
Before Width: | Height: | Size: 338 B |
|
@ -14,8 +14,8 @@ import assemblyline.common.machine.crane.TileEntityCraneController;
|
|||
|
||||
public class RenderCraneController extends RenderImprintable
|
||||
{
|
||||
public static final String TEXTURE = "quarryControllerOff.png";
|
||||
public static final String TEXTURE_VALID = "quarryControllerValid.png";
|
||||
public static final String TEXTURE = "crane_controller_off.png";
|
||||
public static final String TEXTURE_VALID = "crane_controller_on.png";
|
||||
public static final ModelCraneController MODEL = new ModelCraneController();
|
||||
|
||||
@Override
|
||||
|
@ -26,8 +26,11 @@ public class RenderCraneController extends RenderImprintable
|
|||
this.bindTextureByName(AssemblyLine.TEXTURE_PATH + (((TileEntityCraneController) tileEntity).isCraneValid() ? TEXTURE_VALID : TEXTURE));
|
||||
ForgeDirection rot = ForgeDirection.getOrientation(tileEntity.worldObj.getBlockMetadata(tileEntity.xCoord, tileEntity.yCoord, tileEntity.zCoord));
|
||||
float angle = 0f;
|
||||
|
||||
switch (rot)
|
||||
{
|
||||
default:
|
||||
break;
|
||||
case NORTH:
|
||||
{
|
||||
angle = 90f;
|
||||
|
|
|
@ -15,7 +15,7 @@ import assemblyline.common.machine.crane.TileEntityCraneRail;
|
|||
|
||||
public class RenderCraneRail extends RenderImprintable
|
||||
{
|
||||
public static final String TEXTURE = "craneRail.png";
|
||||
public static final String TEXTURE = "crane_rail.png";
|
||||
public static final ModelCraneRail MODEL = new ModelCraneRail();
|
||||
|
||||
@Override
|
||||
|
|
|
@ -97,7 +97,7 @@ public class ContainerImprinter extends Container implements ISlotWatcher
|
|||
this.tileEntity.setInventorySlotContents(this.tileEntity.INVENTORY_START - 1, null);
|
||||
}
|
||||
|
||||
if (slot > this.tileEntity.getSizeInventory())
|
||||
if (slot > this.tileEntity.getSizeInventory() - 1)
|
||||
{
|
||||
if (this.getSlot(this.tileEntity.IMPRINTER_MATRIX_START).isItemValid(slotStack))
|
||||
{
|
||||
|
|