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
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
