Jump to content

cant load proxy but no error in the changelog


BRHSM

Recommended Posts

i have this server and client proxy but i can't load them:

 

@SidedProxy(clientSide = "Com.BRHSM.Mod.Registry.ClientProxy",serverSide = "Com.BRHSM.Mod.Registry.ServerProxy")
public static ServerProxy Proxy;

the wierd thing is that there is no error in the changelog, just a crach that sais this in the console

 

[17:47:04] [Client thread/ERROR] [FML]: An error occured trying to load a proxy into {serverSide=Com.BRHSM.Mod.Registry.ServerProxy, clientSide=Com.BRHSM.Mod.Registry.ClientProxy}.Com.BRHSM.Mod.Registry.MainRegistry

 

what's going on here?

Link to comment
Share on other sites

Your client proxy class cannot be instantiated, show it.

 

I don't know if i am registring everything right:

 

package Com.BRHSM.Mod.Registry;

import Com.BRHSM.Mod.Handler.GuiHandler;
import Com.BRHSM.Mod.TileEntities.TileEntityGemSmelter;
import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.registry.GameRegistry;


public abstract class ClientProxy extends ServerProxy{
public void registerRenderThings() {

}

public int addArmor(String armor) {
	return 0;
}

public void registerNetworkStuff(){

}

public void registerTileEntities(){
	GameRegistry.registerTileEntity(TileEntityGemSmelter.class, MainRegistry.MODID);
}
}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.