Fixed #476 - Trying to load renderer server side

This commit is contained in:
Calclavia 2014-03-23 09:44:12 +08:00
parent 02cf4dd618
commit e4c86baf0b
2 changed files with 5 additions and 0 deletions

View file

@ -8,6 +8,8 @@ import calclavia.lib.utility.FluidUtility;
import calclavia.lib.utility.WorldUtility;
import calclavia.lib.utility.inventory.InventoryUtility;
import calclavia.lib.utility.render.RenderBlockUtility;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
@ -130,6 +132,7 @@ public class TileTank extends TileFluidDistribution implements IComparatorInputO
}
}
@SideOnly(Side.CLIENT)
@Override
protected TileRender newRenderer()
{

View file

@ -12,6 +12,7 @@ buildscript {
}
apply plugin: 'forge'
apply plugin: 'scala'
apply plugin: 'maven'
apply plugin: 'maven-publish'
@ -37,6 +38,7 @@ minecraft {
}
subprojects*.apply plugin: 'java'
subprojects*.apply plugin: 'scala'
allprojects {
version = "${config.version.mod.major}.${config.version.mod.minor}.${config.version.mod.revis}"