Fix server start-up crash, #betaBuild
This commit is contained in:
parent
84cb99290d
commit
7eaef93136
2 changed files with 4 additions and 1 deletions
|
@ -81,7 +81,7 @@ configurations {
|
|||
compile.extendsFrom shade
|
||||
}
|
||||
|
||||
version = "2.4.0"
|
||||
version = "2.4.1"
|
||||
|
||||
def ENV = System.getenv()
|
||||
if (ENV.BUILD_NUMBER) {
|
||||
|
|
|
@ -32,6 +32,8 @@ import net.minecraft.nbt.NBTTagString;
|
|||
import net.minecraft.util.text.TextFormatting;
|
||||
import net.minecraftforge.event.entity.player.ItemTooltipEvent;
|
||||
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import techreborn.init.ModBlocks;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
@ -61,6 +63,7 @@ public class StackWIPHandler {
|
|||
devHeads.add(head);
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@SubscribeEvent
|
||||
public void toolTip(ItemTooltipEvent event) {
|
||||
Block block = Block.getBlockFromItem(event.getItemStack().getItem());
|
||||
|
|
Loading…
Reference in a new issue