revert: LazyVarUpdater에 \BackedEnum 롤백
This commit is contained in:
@@ -44,10 +44,7 @@ class WarUnitCity extends WarUnit{
|
||||
return $this->getVar('name');
|
||||
}
|
||||
|
||||
function getCityVar(string|\BackedEnum $key){
|
||||
if($key instanceof \BackedEnum){
|
||||
$key = $key->value;
|
||||
}
|
||||
function getCityVar(string $key){
|
||||
return $this->raw[$key];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user