mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-22 05:02:25 +00:00
#2453 Fix compat with newer forge versions in reservoir
This commit is contained in:
1 parent
4eff12dca7
commit
1735fb59c8
1 file changed
+1
-1
@@ -301,7 +301,7 @@ public class TileReservoir extends TileEntityEio implements IFluidHandler, ITank
|
||||
|
||||
nbtRoot.setBoolean("autoEject", autoEject);
|
||||
|
||||
if(tank.getFluid() != null && FluidRegistry.getFluidName(tank.getFluid().fluidID) != null) {
|
||||
if(tank.getFluid() != null && FluidRegistry.getFluidName(tank.getFluid()) != null) {
|
||||
nbtRoot.setTag("tank", tank.getFluid().writeToNBT(new NBTTagCompound()));
|
||||
}
|
||||
if(regenTank != null) {
|
||||
|
||||
Reference in new issue
Block a user