Added invalidateCaps

- Changed setRemoved to invalidateCaps. I don't know why I wasn't just using invalidateCaps from the beginning
This commit is contained in:
caelwarner 2022-10-03 20:46:16 -07:00
parent 654476d9f3
commit d404f07319
No known key found for this signature in database
GPG key ID: 514BEF5EADE889FF
4 changed files with 8 additions and 8 deletions

View file

@ -146,8 +146,8 @@ public class SpeedControllerTileEntity extends KineticTileEntity implements Comp
}
@Override
public void setRemoved() {
super.setRemoved();
public void invalidateCaps() {
super.invalidateCaps();
removePeripheral();
}

View file

@ -175,8 +175,8 @@ public class SequencedGearshiftTileEntity extends SplitShaftTileEntity implement
}
@Override
public void setRemoved() {
super.setRemoved();
public void invalidateCaps() {
super.invalidateCaps();
removePeripheral();
}

View file

@ -72,8 +72,8 @@ public abstract class GaugeTileEntity extends KineticTileEntity implements IHave
}
@Override
public void setRemoved() {
super.setRemoved();
public void invalidateCaps() {
super.invalidateCaps();
removePeripheral();
}

View file

@ -192,8 +192,8 @@ public class DisplayLinkTileEntity extends SmartTileEntity implements ComputerCo
}
@Override
public void setRemoved() {
super.setRemoved();
public void invalidateCaps() {
super.invalidateCaps();
removePeripheral();
}