mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-15 03:51:20 +01:00
Oops. This doesn't need to be there.
This commit is contained in:
parent
a367c8f20c
commit
1e6d69b50f
@ -29,7 +29,6 @@ public class WeatherDistance extends PacketAdapter {
|
||||
double locZ = packetContainer.getIntegers().read(2) / 8;
|
||||
|
||||
Location weatherLocation = new Location(player.getWorld(), locX, locY, locZ);
|
||||
Location location = player.getLocation().clone();
|
||||
|
||||
if (player.getLocation().distance(weatherLocation) > 512.0F) {
|
||||
event.setCancelled(true);
|
||||
|
Loading…
Reference in New Issue
Block a user