mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 12:19:55 +00:00
prevent crash when XP juice could not be found
This commit is contained in:
1 parent
74742841fe
commit
da6daab14c
1 file changed
+1
-1
@@ -148,7 +148,7 @@ public class ExperienceContainer {
|
||||
}
|
||||
|
||||
public boolean canFill(ForgeDirection from, Fluid fluid) {
|
||||
return fluid != null && fluid.getID() == EnderIO.fluidXpJuice.getID();
|
||||
return fluid != null && EnderIO.fluidXpJuice != null && fluid.getID() == EnderIO.fluidXpJuice.getID();
|
||||
}
|
||||
|
||||
public int fill(ForgeDirection from, FluidStack resource, boolean doFill) {
|
||||
|
||||
Reference in new issue
Block a user