Fix some small issues
This commit is contained in:
parent
4a0fd93363
commit
d8829fd33c
2 changed files with 2 additions and 4 deletions
|
@ -50,9 +50,7 @@ public class RenderCablePart implements IBakedModel {
|
||||||
if(side != null){
|
if(side != null){
|
||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
}
|
}
|
||||||
|
|
||||||
addCubeToList(new Vecs3dCube(thickness, thickness, thickness, lastThickness, lastThickness, lastThickness), list, face, ModelRotation.X0_Y0, texture);
|
addCubeToList(new Vecs3dCube(thickness, thickness, thickness, lastThickness, lastThickness, lastThickness), list, face, ModelRotation.X0_Y0, texture);
|
||||||
|
|
||||||
if (state != null) {
|
if (state != null) {
|
||||||
if (state.getValue(CableMultipart.UP)) {
|
if (state.getValue(CableMultipart.UP)) {
|
||||||
addCubeToList(new Vecs3dCube(thickness, lastThickness, thickness, lastThickness, 16.0, lastThickness), list, face, ModelRotation.X0_Y0, texture);
|
addCubeToList(new Vecs3dCube(thickness, lastThickness, thickness, lastThickness, 16.0, lastThickness), list, face, ModelRotation.X0_Y0, texture);
|
||||||
|
|
|
@ -114,7 +114,7 @@ public class TileRecycler extends TilePowerAcceptor implements IWrenchable, IInv
|
||||||
|
|
||||||
public boolean canRecycle ()
|
public boolean canRecycle ()
|
||||||
{
|
{
|
||||||
if (getStackInSlot(input1) != null)
|
if (getStackInSlot(input1) != null && getStackInSlot(output) == null ? true : getStackInSlot(output).stackSize < 64)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue