diff --git a/Spigot-Server-Patches/Add-getEntity-by-UUID-API.patch b/Spigot-Server-Patches/Add-getEntity-by-UUID-API.patch index e1d6bf9b8..f7ddf0e23 100644 --- a/Spigot-Server-Patches/Add-getEntity-by-UUID-API.patch +++ b/Spigot-Server-Patches/Add-getEntity-by-UUID-API.patch @@ -18,7 +18,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + Entity entity; + for (WorldServer world : worldServer) { + entity = world.getEntity(uuid); -+ if (entity != null) { ++ if (entity != null && !entity.dead) { + return entity; + } + }