More redstone changes

This commit is contained in:
Blood-Asp 2017-06-04 19:11:03 +02:00
parent 30de32fb07
commit e102488f2c
2 changed files with 5 additions and 1 deletions

View file

@ -676,4 +676,9 @@ public abstract class MetaPipeEntity implements IMetaTileEntity {
public void onCreated(ItemStack aStack, World aWorld, EntityPlayer aPlayer) { public void onCreated(ItemStack aStack, World aWorld, EntityPlayer aPlayer) {
// //
} }
@Override
public boolean allowGeneralRedstoneOutput() {
return false;
}
} }

View file

@ -224,7 +224,6 @@ public abstract class GT_MetaTileEntity_Buffer extends GT_MetaTileEntity_TieredM
if (aBaseMetaTileEntity.isAllowedToWork() && aBaseMetaTileEntity.isServerSide() && aBaseMetaTileEntity.isUniversalEnergyStored(getMinimumStoredEU()) && (aBaseMetaTileEntity.hasWorkJustBeenEnabled() || aBaseMetaTileEntity.hasInventoryBeenModified() || aTimer % 200 == 0 || mSuccess > 0)) { if (aBaseMetaTileEntity.isAllowedToWork() && aBaseMetaTileEntity.isServerSide() && aBaseMetaTileEntity.isUniversalEnergyStored(getMinimumStoredEU()) && (aBaseMetaTileEntity.hasWorkJustBeenEnabled() || aBaseMetaTileEntity.hasInventoryBeenModified() || aTimer % 200 == 0 || mSuccess > 0)) {
mSuccess--; mSuccess--;
moveItems(aBaseMetaTileEntity, aTimer); moveItems(aBaseMetaTileEntity, aTimer);
System.out.println("inv "+bInvert+" full "+bRedstoneIfFull);
aBaseMetaTileEntity.setGenericRedstoneOutput(bInvert); aBaseMetaTileEntity.setGenericRedstoneOutput(bInvert);
if (bRedstoneIfFull) { if (bRedstoneIfFull) {
aBaseMetaTileEntity.setGenericRedstoneOutput(!bInvert); aBaseMetaTileEntity.setGenericRedstoneOutput(!bInvert);