Started by
Qwinci
on
Topic category: Troubleshooting, bugs, and solutions
Hello, i get this error from this code: > Task :compileJava
C:\Users\laati\MCreatorWorkspaces\pumped_storage\src\main\java\net\qwinci\pumpedstorage\procedures\WaterTankClickProcedure.java:120: error: incompatible types: FluidStack cannot be converted to int .ifPresent(capability -> _retval.set(capability.drain(amount, IFluidHandler.FluidAction.SIMULATE)));
^
C:\Users\laati\MCreatorWorkspaces\pumped_storage\src\main\java\net\qwinci\pumpedstorage\procedures\WaterTankClickProcedure.java:147: error: incompatible types: FluidStack cannot be converted to int .ifPresent(capability -> _retval.set(capability.drain(amount, IFluidHandler.FluidAction.SIMULATE)));
Edit: Workspace zip file
Edited by Qwinci on Wed, 07/22/2020 - 08:54
Please open a support ticket and include your workspace ZIP so I can test this.
I opened support ticket for it.
I will check it asap