Advertisement
Guest User

Untitled

a guest
Feb 5th, 2014
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. ////////Inside the Block class. the "spartsnicknacks.instance" isn't registering as the instance just throws up an error
  2.  
  3. public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ){
  4. if(!world.isRemote){
  5. FMLNetworkHandler.openGui(player, spartsnicknacks.instance, modGuiId, world, x, y, z);
  6. }
  7.  
  8. return true;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement