diff --git a/module-compat/modern-dynamics/src/main/java/lol/bai/megane/module/moderndynamics/provider/PipeFluidProvider.java b/module-compat/modern-dynamics/src/main/java/lol/bai/megane/module/moderndynamics/provider/PipeFluidProvider.java index 5e31b4a..312be29 100644 --- a/module-compat/modern-dynamics/src/main/java/lol/bai/megane/module/moderndynamics/provider/PipeFluidProvider.java +++ b/module-compat/modern-dynamics/src/main/java/lol/bai/megane/module/moderndynamics/provider/PipeFluidProvider.java @@ -4,6 +4,7 @@ import dev.technici4n.moderndynamics.pipe.FluidPipeBlockEntity; import lol.bai.megane.api.provider.FluidProvider; import net.minecraft.fluid.Fluid; +import net.minecraft.nbt.NbtCompound; import org.jetbrains.annotations.Nullable; @SuppressWarnings("UnstableApiUsage") @@ -26,6 +27,11 @@ public int getSlotCount() { return host.getVariant().getFluid(); } + @Override + public @Nullable NbtCompound getNbt(int slot) { + return host.getVariant().getNbt(); + } + @Override public double getStored(int slot) { return droplets(host.getAmount());