diff --git a/Spigot-Server-Patches/Add-getEntity-by-UUID-API.patch b/Spigot-Server-Patches/Add-getEntity-by-UUID-API.patch index bf5eab8d3..105d109c8 100644 --- a/Spigot-Server-Patches/Add-getEntity-by-UUID-API.patch +++ b/Spigot-Server-Patches/Add-getEntity-by-UUID-API.patch @@ -21,7 +21,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 Entity entity = worldserver.getEntity(uuid); - if (entity != null) { -+ if (entity != null && entity.isAlive()) { ++ if (entity != null && !entity.dead) { return entity; } }