Quick help pls

Status
This thread has been locked.

NoReach__

Feedback score
0
Posts
58
Reactions
16
Resources
0
Okay first ignore the shitty layout of code, I always write first, get it working then cleanup. Don't judge just the way I do things.

https://hastebin.com/yumafujena.java




I've got 2 boxes set, the red one being spawn, and the green one being the surrounding area. I want to return a location, within the green space but not in the red space



But the issue is with my current method is, that its returning the default toReturn location of 0,70,0. As when setting the toReturn in the runnable it doesn't do it till a tick or so later
[09:32:58 INFO]: RETURNING THIS LOCATION IN REGION MANAGER: Location{world=CraftWorld{name=spawn},x=0.0,y=70.0,z=0.0,pitch=0.0,yaw=0.0}
[09:32:58 INFO]: Set To Return value



Any ideas would be great
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

NoReach__

Feedback score
0
Posts
58
Reactions
16
Resources
0
Hey bud, this isn't really a place for programming help, go to places like Stackoverflow, or in your case Spigot/Bukkit's Plugin Development Help threads.
I sorted it anyway, just needed some quick help as I needed it done asap. Oh well
 
Status
This thread has been locked.
Top