fix fluid cache caching by reference fixes #2670 (#2787)

This commit is contained in:
Darkere
2021-01-02 11:19:18 +01:00
committed by GitHub
parent 7b6bb099f9
commit 7531bd2d18

View File

@@ -22,7 +22,7 @@ public class FluidExternalStorageCache {
cache = new ArrayList<>(); cache = new ArrayList<>();
for (int i = 0; i < handler.getTanks(); ++i) { for (int i = 0; i < handler.getTanks(); ++i) {
cache.add(handler.getFluidInTank(i)); cache.add(handler.getFluidInTank(i).copy());
} }
return; return;