Compare commits

..
2 Commits
Author SHA1 Message Date
Martin Robertz 2e73da4e25 update 2024-06-15 22:52:17 +02:00
slprimeandslprime 3fbc4eebac Fix find fluid from Bookmarks without amount (#16)
Co-authored-by: slprime <[email protected]>
2024-06-15 17:03:03 +02:00
2 changed files with 4 additions and 4 deletions

No files matched your search

+3 -3
View File
@@ -1,7 +1,7 @@
// Add your dependencies here
dependencies {
implementation('com.github.GTNewHorizons:NotEnoughItems:2.6.0-GTNH:dev')
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.46.21:dev')
compileOnly('com.github.GTNewHorizons:EnderIO:2.8.0:dev')
implementation('com.github.GTNewHorizons:NotEnoughItems:2.6.5-GTNH:dev')
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.48.37:dev')
compileOnly('com.github.GTNewHorizons:EnderIO:2.8.6:dev')
}
@@ -41,7 +41,7 @@ public class FindItemRequest implements IMessage {
}
public boolean hasFluidStack() {
return targetFluidStack != null && targetFluidStack.amount > 0;
return targetFluidStack != null;
}
public boolean isFluidSatisfies(FluidStack fluid) {