Fix Server Crash

This commit is contained in:
modmuss50 2016-05-13 07:46:17 +01:00
parent 6ef2285ab6
commit 960bac8cc2
5 changed files with 31 additions and 31 deletions

View file

@ -1,7 +1,7 @@
package techreborn.parts.fluidPipes;
import com.mojang.realmsclient.gui.ChatFormatting;
import net.minecraft.util.IStringSerializable;
import net.minecraft.util.text.TextFormatting;
/**
* Created by modmuss50 on 09/05/2016.
@ -9,17 +9,17 @@ import net.minecraft.util.IStringSerializable;
public enum EnumFluidPipeTypes implements IStringSerializable
{
EMPTY("empty", "techreborn:blocks/fluidPipes/fluidpipe", false, false, ChatFormatting.DARK_GRAY),
INSERT("insert", "techreborn:blocks/fluidPipes/fluidpipe_insert", false, true, ChatFormatting.BLUE),
EXTRACT("extract", "techreborn:blocks/fluidPipes/fluidpipe_extract", true, false, ChatFormatting.GOLD);
EMPTY("empty", "techreborn:blocks/fluidPipes/fluidpipe", false, false, TextFormatting.DARK_GRAY),
INSERT("insert", "techreborn:blocks/fluidPipes/fluidpipe_insert", false, true, TextFormatting.BLUE),
EXTRACT("extract", "techreborn:blocks/fluidPipes/fluidpipe_extract", true, false, TextFormatting.GOLD);
public String textureName = "minecraft:blocks/iron_block";
public boolean extract = false;
public boolean insert = false;
public ChatFormatting colour = ChatFormatting.WHITE;
public TextFormatting colour = TextFormatting.WHITE;
private String name;
EnumFluidPipeTypes(String name, String textureName, boolean extract, boolean insert, ChatFormatting colour)
EnumFluidPipeTypes(String name, String textureName, boolean extract, boolean insert, TextFormatting colour)
{
this.name = name;
this.textureName = textureName;