geforkt von Mirrors/Paper
Make getEntity dead check more specific
Dieser Commit ist enthalten in:
Ursprung
8a2d6a1790
Commit
246294d161
@ -21,7 +21,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
Entity entity = worldserver.getEntity(uuid);
|
Entity entity = worldserver.getEntity(uuid);
|
||||||
|
|
||||||
- if (entity != null) {
|
- if (entity != null) {
|
||||||
+ if (entity != null && entity.isAlive()) {
|
+ if (entity != null && !entity.dead) {
|
||||||
return entity;
|
return entity;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren