Dieser Commit ist enthalten in:
Ursprung
02d756137e
Commit
40d52d2355
@ -197,7 +197,6 @@ public class REntityServer implements Listener {
|
|||||||
@EventHandler
|
@EventHandler
|
||||||
public void onQuit(PlayerQuitEvent e) {
|
public void onQuit(PlayerQuitEvent e) {
|
||||||
Player player = e.getPlayer();
|
Player player = e.getPlayer();
|
||||||
viewDistance.remove(player);
|
|
||||||
Location location = lastLocation.remove(player);
|
Location location = lastLocation.remove(player);
|
||||||
if(location == null)
|
if(location == null)
|
||||||
return;
|
return;
|
||||||
@ -209,6 +208,7 @@ public class REntityServer implements Listener {
|
|||||||
if(playersInChunk.isEmpty())
|
if(playersInChunk.isEmpty())
|
||||||
players.remove(id);
|
players.remove(id);
|
||||||
});
|
});
|
||||||
|
viewDistance.remove(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onMissing(Set<Player> of, Set<Player> in, Consumer<Consumer<Object>> packetProvider) {
|
private void onMissing(Set<Player> of, Set<Player> in, Consumer<Consumer<Object>> packetProvider) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren