File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/scala/extracells Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public static class Handler implements IPacketHandlerServer {
3535 @ Override
3636 public void onPacketData (PacketBufferEC data , EntityPlayerMP player ) throws IOException {
3737 Fluid fluid = data .readFluid ();
38- ContainerStorage containerStorage = GuiUtil .getContainer (player , ContainerFluidStorage .class );
38+ ContainerStorage containerStorage = GuiUtil .getContainer (player , ContainerStorage .class );
3939 if (fluid == null || containerStorage == null ) {
4040 return ;
4141 }
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class PartGasTerminal extends PartFluidTerminal {
3333 @ Optional .Method (modid = " MekanismAPI|gas" )
3434 def doWorkGas {
3535 val secondSlot : ItemStack = this .inventory.getStackInSlot(1 )
36- if (secondSlot != null && secondSlot.getCount >= secondSlot.getMaxStackSize) return
36+ if (secondSlot != null && ( ! secondSlot.isEmpty) && secondSlot.getCount >= secondSlot.getMaxStackSize) return
3737 var container : ItemStack = this .inventory.getStackInSlot(0 )
3838 if (container == null || container.isEmpty)
3939 doNextFill = false
You can’t perform that action at this time.
0 commit comments