Posted January 5, 201411 yr That's really stupid. I don't know what's wrong. When I check equality of par3World.func_147439_a(par4, par5, par6) (This fuction gets Block) to Blocks.stone (This IS Block) if (par3World.func_147439_a(par4, par5, par6) == Blocks.stone) I knock on the stone, all goes good. As it should be! But when I check equality of par3World.func_147439_a(par4, par5, par6).func_149739_a() to Blocks.stone.func_149739_a() func_149739_a() gives unlocalized name of block like "tile.stone" First of all I checked it in console System.out.println(par3World.func_147439_a(par4, par5, par6).func_149739_a()); System.out.println(Blocks.stone.func_149739_a(); In console I saw ABSOLUTELY same strings tile.stone and tile.stone BUUUTTT!!!!!! if (par3World.func_147439_a(par4, par5, par6).func_149739_a() == Blocks.stone.func_149739_a()) AND THEY'RE NOT EQUAL ANYMORE!!!!!!!!! But they're equal, I know it. ALSO if (Blocks.stone.func_149739_a() == Blocks.stone.func_149739_a()) AND HE SAYS THAT THESE STRINGS ARE NOT EQUAL!!!!!!!!!!!!!!!!!!! Please help, it's very strange. [spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler]LOL,Its nothing interesting here [spoiler=Spoiler]And here too [spoiler=Spoiler]But that image is pretty good
January 5, 201411 yr Not very strange at all. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
January 5, 201411 yr Author Oh, sorry. I didn't know. i am bad programmer, that's true. Thank tou all and sorry for my silliness. [spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler][spoiler=Spoiler]LOL,Its nothing interesting here [spoiler=Spoiler]And here too [spoiler=Spoiler]But that image is pretty good
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.