Fix filling buckets with fluids without bucket items consuming the fluid (#7745) Closes #7670

This commit is contained in:
Curle authored and GitHub committed 2021-05-17 13:10:27 -07:00
1 parent 6f3da80b5a
commit da2594289c
1 file changed
+1 -1
@@ -67,7 +67,7 @@ public class FluidBucketWrapper implements IFluidHandlerItem, ICapabilityProvide
{
return true;
}
return fluid.getFluid().getAttributes().getBucket(fluid) != null;
return !fluid.getFluid().getAttributes().getBucket(fluid).isEmpty();
}
@Nonnull