[XTarget] Revert All XTarget Corpse Changes (#1944)

This commit is contained in:
mmcgarvey authored and GitHub committed 2022-01-23 20:18:38 -06:00
1 parent e99c8dafc5
commit e4f2aec11e
4 files changed
+3 -13

No files matched your search

-4
View File
@@ -6650,7 +6650,3 @@ void Mob::SetBucket(std::string bucket_name, std::string bucket_value, std::stri
std::string full_bucket_name = fmt::format("{}-{}", GetBucketKey(), bucket_name);
DataBucket::SetData(full_bucket_name, bucket_value, expiration);
}
bool Mob::IsValidXTarget() const {
return (GetID() > 0 || !IsCorpse());
}