ysl3000 committed 2020-02-04 14:53:50 +01:00
1 parent 8c07e8eba4
commit 36cb3b7cb5
8 files changed
+9 -9

No files matched your search

BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -274,7 +274,7 @@ public class RTP {
private Location getLocAtNormal(int x, int z, World world, Float yaw, Float pitch, PlayerWorld pWorld) {
int y = world.getHighestBlockYAt(x, z);
String block = world.getBlockAt(x, y - 1, z).getType().name();
String block = world.getBlockAt(x, y, z).getType().name();
if (!badBlock(block, x, z, pWorld.getWorld(), pWorld.getBiomes()))
return new Location(world, (x + 0.5), y, (z + 0.5), yaw, pitch);
return null;