Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////////Inside the Block class. the "spartsnicknacks.instance" isn't registering as the instance just throws up an error
- public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ){
- if(!world.isRemote){
- FMLNetworkHandler.openGui(player, spartsnicknacks.instance, modGuiId, world, x, y, z);
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement