config file

This commit is contained in:
GlodBlock committed 2022-05-11 22:07:01 +08:00
1 parent 226e977e85
commit 18647ceb31
7 files changed
+60 -17

No files matched your search

@@ -1,5 +1,6 @@
package com.glodblock.github.loader;
import com.glodblock.github.common.Config;
import com.glodblock.github.common.block.BlockFluidDiscretizer;
import com.glodblock.github.common.block.BlockFluidInterface;
import com.glodblock.github.common.block.BlockFluidPacketDecoder;
@@ -29,6 +30,7 @@ public class ItemAndBlockHolder {
public static BlockFluidInterface INTERFACE = new BlockFluidInterface().register();
public static void loadSetting() {
if (!Config.fluidCells) return;
CellType.Cell1kPart.setItemInstance(CELL_PART);
CellType.Cell4kPart.setItemInstance(CELL_PART);
CellType.Cell16kPart.setItemInstance(CELL_PART);