Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void test() {
- int x_spawn = 0;
- int y_spawn = 0;
- int z_spawn = 0;
- int x_pos = 0;
- int y_pos = 0;
- int z_pos = 0;
- if(x_spawn - x_pos == 0 || x_spawn - x_pos == -1 || x_spawn - x_pos == 1) {
- if(z_spawn - z_pos == 0 || z_spawn - z_pos == -1 || z_spawn - z_pos == 1) {
- if(y_pos - y_spawn <= 3 && y_pos - y_spawn > 0) {
- //SUCCESS
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement