Fixed #476 - Trying to load renderer server side
This commit is contained in:
parent
02cf4dd618
commit
e4c86baf0b
2 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,8 @@ import calclavia.lib.utility.FluidUtility;
|
||||||
import calclavia.lib.utility.WorldUtility;
|
import calclavia.lib.utility.WorldUtility;
|
||||||
import calclavia.lib.utility.inventory.InventoryUtility;
|
import calclavia.lib.utility.inventory.InventoryUtility;
|
||||||
import calclavia.lib.utility.render.RenderBlockUtility;
|
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.client.renderer.RenderBlocks;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
@ -130,6 +132,7 @@ public class TileTank extends TileFluidDistribution implements IComparatorInputO
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
@Override
|
@Override
|
||||||
protected TileRender newRenderer()
|
protected TileRender newRenderer()
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,6 +12,7 @@ buildscript {
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'forge'
|
apply plugin: 'forge'
|
||||||
|
apply plugin: 'scala'
|
||||||
apply plugin: 'maven'
|
apply plugin: 'maven'
|
||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
|
@ -37,6 +38,7 @@ minecraft {
|
||||||
}
|
}
|
||||||
|
|
||||||
subprojects*.apply plugin: 'java'
|
subprojects*.apply plugin: 'java'
|
||||||
|
subprojects*.apply plugin: 'scala'
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
version = "${config.version.mod.major}.${config.version.mod.minor}.${config.version.mod.revis}"
|
version = "${config.version.mod.major}.${config.version.mod.minor}.${config.version.mod.revis}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue