mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 04:09:43 +00:00
#1153 Item conduits crash with invalid item stacks (one without an item assigned)
This commit is contained in:
1 parent
2cc2c4de77
commit
2a5ef725fb
6 files changed
+15
-3
No files matched your search
@@ -26,7 +26,7 @@ public class BlockFluidEio extends BlockFluidClassic {
|
||||
public static BlockFluidEio create(Fluid fluid, Material material) {
|
||||
BlockFluidEio res = new BlockFluidEio(fluid, material);
|
||||
res.init();
|
||||
fluid.setBlock(res);
|
||||
fluid.setBlock(res);
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -35,6 +35,7 @@ public class BlockFluidEio extends BlockFluidClassic {
|
||||
protected BlockFluidEio(Fluid fluid, Material material) {
|
||||
super(fluid, material);
|
||||
this.fluid = fluid;
|
||||
setBlockName(fluid.getUnlocalizedName());
|
||||
}
|
||||
|
||||
protected void init() {
|
||||
|
||||
Reference in new issue
Block a user