Fixes #1190 - "Server crashes randomly on block.refinedstorage:fluid_interface"
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# Refined Storage Changelog
|
||||
|
||||
### 1.4.5
|
||||
- Fixed Crafting Tweaks buttons positioned wrongly (blay09)
|
||||
- Fixed Crafting Tweaks keybindings interfering with RS keybindings (blay09)
|
||||
- Fixed crash when updating storages (raoulvdberge)
|
||||
|
||||
### 1.4.4
|
||||
- Updated Forge to 2284 (raoulvdberge)
|
||||
- Fixed Disk Manipulator crashing due to empty stack (raoulvdberge)
|
||||
|
||||
@@ -11,13 +11,12 @@ import com.raoulvdberge.refinedstorage.apiimpl.API;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.CopyOnWriteArrayList;
|
||||
|
||||
public class StorageCacheFluid implements IStorageCache<FluidStack> {
|
||||
private INetworkMaster network;
|
||||
private List<IStorage<FluidStack>> storages = Collections.synchronizedList(new ArrayList<>());
|
||||
private List<IStorage<FluidStack>> storages = new CopyOnWriteArrayList<>();
|
||||
private IStackList<FluidStack> list = API.instance().createFluidStackList();
|
||||
|
||||
public StorageCacheFluid(INetworkMaster network) {
|
||||
|
||||
@@ -11,13 +11,12 @@ import com.raoulvdberge.refinedstorage.apiimpl.API;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.CopyOnWriteArrayList;
|
||||
|
||||
public class StorageCacheItem implements IStorageCache<ItemStack> {
|
||||
private INetworkMaster network;
|
||||
private List<IStorage<ItemStack>> storages = Collections.synchronizedList(new ArrayList<>());
|
||||
private List<IStorage<ItemStack>> storages = new CopyOnWriteArrayList<>();
|
||||
private IStackList<ItemStack> list = API.instance().createItemStackList();
|
||||
|
||||
public StorageCacheItem(INetworkMaster network) {
|
||||
|
||||
Reference in New Issue
Block a user