Dieser Commit ist enthalten in:
Ursprung
fb122edf35
Commit
d073d3abde
@ -137,7 +137,7 @@ public class REntityServer implements Listener {
|
|||||||
lastLocation.put(player, to);
|
lastLocation.put(player, to);
|
||||||
int viewDistance = viewRadius(player);
|
int viewDistance = viewRadius(player);
|
||||||
forChunkInView(player, from, (x, z) -> {
|
forChunkInView(player, from, (x, z) -> {
|
||||||
if(Math.abs(x - toX) > viewDistance || Math.abs(z - toX) > viewDistance) {
|
if(Math.abs(x - toX) > viewDistance || Math.abs(z - toZ) > viewDistance) {
|
||||||
removePlayerFromChunk(player, x, z);
|
removePlayerFromChunk(player, x, z);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren