Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

Commit

Permalink
Fix on servers
Browse files Browse the repository at this point in the history
  • Loading branch information
Aesen Vismea committed Mar 6, 2015
1 parent 2fdf37f commit 2b48800
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/main/java/com/gameminers/farrago/ClientProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringEscapeUtils;

import com.gameminers.farrago.client.render.RenderBlunderbussProjectile;
import com.gameminers.farrago.entity.EntityBlunderbussProjectile;
import com.gameminers.farrago.kahur.client.InitScreen;
import com.gameminers.farrago.pane.PaneBranding;
import com.gameminers.farrago.pane.PaneOrbGlow;
import com.google.common.base.Charsets;

import cpw.mods.fml.client.registry.RenderingRegistry;


public class ClientProxy implements Proxy {

Expand All @@ -33,6 +37,7 @@ public void init() {
if (FarragoMod.brand != null) {
new PaneBranding().autoOverlay(GuiMainMenu.class);
}
RenderingRegistry.registerEntityRenderingHandler(EntityBlunderbussProjectile.class, new RenderBlunderbussProjectile());
}

@Override
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/com/gameminers/farrago/FarragoMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import com.gameminers.farrago.block.BlockCombustor;
import com.gameminers.farrago.block.BlockOre;
import com.gameminers.farrago.block.BlockScrapper;
import com.gameminers.farrago.client.render.RenderBlunderbussProjectile;
import com.gameminers.farrago.entity.EntityBlunderbussProjectile;
import com.gameminers.farrago.gen.YttriumGenerator;
import com.gameminers.farrago.item.ItemBlunderbuss;
Expand All @@ -53,7 +52,6 @@
import com.gameminers.farrago.tileentity.TileEntityScrapper;
import com.google.common.collect.Lists;

import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.IFuelHandler;
import cpw.mods.fml.common.Mod;
Expand Down Expand Up @@ -151,7 +149,6 @@ public int getBurnTime(ItemStack fuel) {
GameRegistry.registerItem(FONDUE, "fondue");
GameRegistry.registerItem(VIVID_ORB, "vividOrb");
EntityRegistry.registerModEntity(EntityBlunderbussProjectile.class, "blunderbussShot", 5, this, 64, 12, true);
RenderingRegistry.registerEntityRenderingHandler(EntityBlunderbussProjectile.class, new RenderBlunderbussProjectile());
ORE.registerOres();
DUST.registerOres();
INGOT.registerOres();
Expand Down

0 comments on commit 2b48800

Please sign in to comment.