mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-11 15:57:55 +00:00
wireless universal terminal
This commit is contained in:
1 parent
e1aa537670
commit
513af871aa
17 files changed
+544
-9
No files matched your search
@@ -440,7 +440,7 @@ public final class Util {
|
||||
public static MutablePair<Integer, ItemStack> fillStack(ItemStack itemStack, FluidStack fluid) {
|
||||
if (itemStack == null || itemStack.stackSize != 1) return null;
|
||||
Item item = itemStack.getItem();
|
||||
// If its a fluid container item instance
|
||||
// If it's a fluid container item instance
|
||||
if (item instanceof IFluidContainerItem) {
|
||||
// Call the fill method on it.
|
||||
int filled = ((IFluidContainerItem) item).fill(itemStack, fluid, true);
|
||||
|
||||
Reference in new issue
Block a user