Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
4db0426ae9
Commit
c4a2d8a04b
@ -223,7 +223,11 @@ public class PacketProcessor {
|
||||
private void entityDespawns() throws IOException {
|
||||
int entityId = source.readInt();
|
||||
|
||||
execSync(() -> REntity.getEntity(entityId).die());
|
||||
execSync(() -> {
|
||||
REntity entity = REntity.getEntity(entityId);
|
||||
if(entity != null)
|
||||
entity.die();
|
||||
});
|
||||
}
|
||||
|
||||
private void entitySneak() throws IOException {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren