Hot Summer Deals are Here!
Celebrate with up to 99% off on 17,000 resources
03
Days
19
Hours
02
Mins
13
Secs

MineHQ Melon

Status
This thread has been locked.
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Stephen

Irrelevant ☕️
Deactivated
Feedback score
8
Posts
2,326
Reactions
1,412
Resources
0
I want to point out something here... THIS DUDE CAN BARELY SPEAK ENGLISH HOW DO YOU EXPECT HIM TO CODE IN IT
 

UnrealDesign

Feedback score
0
Posts
12
Reactions
4
Resources
0
Nvm, what talking about another post. But as you obviously can tell, as he uses Eclipse, the methods should be public. Not private, comeon, you are a java developer right?

Yes, this is a 8-9 day old post, but what you said is just wrong and I want to clarify for anyone reading. In this case, the methods should not be public. They should most definitely be private. This is so that if anyone, for god knows what reason, tried to use hook into this wouldn't run those functions again. I'm not familiar enough with the restrictions on using the Server#addRecipe(Recipe) method, nor do I want to look up, but it wouldn't do any good to run the hrecipe() again because after this plugin runs you should never need to register it again.

Note: His code would never work because he never even uses the functions in his posted screenshot. Even worse though is that after looking into the .jar I noticed the packages are setup different than the code he posted like many people pointed out. Lastly, there is almost no point in giving a screenshot of the code rather than just plain text posting all or some of it.
 
Status
This thread has been locked.
Top