Skip to content

Commit

Permalink
Slight Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegerLimit committed Jan 3, 2025
1 parent b6dc603 commit fdb5174
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ private void gtTankNames(ProbeMode mode, IProbeInfo probeInfo, EntityPlayer play
@Share("labs$gtInputAmt") LocalIntRef inputAmt) {
TileEntity tile = world.getTileEntity(data.getPos());

if (tile instanceof IGregTechTileEntity gt &&
gt.getMetaTileEntity() instanceof SimpleMachineMetaTileEntity simple) {
if (tile instanceof IGregTechTileEntity gt && gt.getMetaTileEntity() instanceof SimpleMachineMetaTileEntity) {
if (i > inputAmt.get() - 1)
tankName.set(LabsTranslate.translate("topaddons.fluid_display.tank.display.output"));
else
Expand Down

0 comments on commit fdb5174

Please sign in to comment.