Could use a WeakHashMap
Each player needs there own individual scoreboard, and all the teams needed to be loaded into that scoreboard. Its kind of ridiculous, but you...
potato put your code
Why is that? He is adding to the players Y axis
if its only running once you might wanna double check the math: if(x*x + z*z > rsquared) continue;...
Hmm, for(int x = -r; x < r; x++){ for(int z = -r; z < r; z++){ if(x*x + z*z > rsquared)...
Why don't you just use a Getter to return the edit session so you can access from wherever you need, granted you could still do that without a...
This seems to have fixed the issue :) Thanks.
I don't want the Queries list keeping unnecessary memory, and removing it with a regular forloop would trigger the concurrentmodification every...
Hey guys, kinda been stuck on this for a while and was looking for some more insight: public QueryFactory(Stats i){ new...
Yeah you will be able to access things the same way just about,
Ugh, can't believe i didnt check that first. Option was: teleport-invulnerability: 4 Thanks!
Recently came across the issue that after using p.teleport(location), that the player that was teleported (not the person attacking the person who...
Ill put it straight, You want to create an instance of the RandomTeleport class in CorePluginMain like so CorePluginMain.java private...
Not using static should encourage him to construct the class
Why are you using static for these methods, even though you have a constructor? It won't fix the issue im pretty sure, but it does reflect your...
https://en.wikipedia.org/wiki/Indent_style
The A* Algorithm could work just as well, as long as you define your paths correctly to manouver around walls, objects, etc.
Yes, im just saying thats the answer i expected from people, not my actual answer
He could also use a switch if his brain doesnt work with maths that well Saying not to use static all together isn't correct, there are times...
Separate names with a comma.