chore: remove uneeded old perm map check (#1240)

and remove unused softban perm
RIP DLU beta
This commit is contained in:
Aaron Kimbrell
2023-10-25 11:44:57 -05:00
committed by GitHub
parent a5e46e2844
commit 6f3950dae7
2 changed files with 0 additions and 23 deletions

View File

@@ -555,15 +555,6 @@ void Character::OnZoneLoad() {
return;
}
/**
* Restrict old character to 1 million coins
*/
if (HasPermission(ePermissionMap::Old)) {
if (GetCoins() > 1000000) {
SetCoins(1000000, eLootSourceType::NONE);
}
}
auto* inventoryComponent = m_OurEntity->GetComponent<InventoryComponent>();
if (inventoryComponent == nullptr) {