From 0f500e7f927662467b482d82ae7529ad417667b7 Mon Sep 17 00:00:00 2001 From: miozune Date: Tue, 31 Oct 2023 00:03:00 +0900 Subject: [PATCH] Cleanup isValidMetaTileEntity --- .../tile/multi/TileEntityPlanetaryGasSiphon.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gtnewhorizons/gtnhintergalactic/tile/multi/TileEntityPlanetaryGasSiphon.java b/src/main/java/com/gtnewhorizons/gtnhintergalactic/tile/multi/TileEntityPlanetaryGasSiphon.java index a2039de..9c5e37e 100644 --- a/src/main/java/com/gtnewhorizons/gtnhintergalactic/tile/multi/TileEntityPlanetaryGasSiphon.java +++ b/src/main/java/com/gtnewhorizons/gtnhintergalactic/tile/multi/TileEntityPlanetaryGasSiphon.java @@ -263,7 +263,7 @@ public boolean isCorrectMachinePart(ItemStack stack) { @Override public @NotNull CheckRecipeResult checkProcessing() { // return early if no input busses are present, the first bus is invalid or the TE is not on a space station - if (mInputBusses.isEmpty() || !isValidMetaTileEntity(mInputBusses.get(0))) { + if (mInputBusses.isEmpty() || !mInputBusses.get(0).isValid()) { resetMachine(true); return SimpleCheckRecipeResult.ofFailure("no_mining_pipe"); }