refactor
This commit is contained in:
@@ -15,7 +15,7 @@ class WearedScrolls
|
||||
public static function ScrollsChange(array &$u): void
|
||||
{
|
||||
//Замена свитков
|
||||
if ($u['autospell'] == 0 || $u['battle'] != 0) {
|
||||
if (empty($u['autospell']) || !empty($u['battle'])) {
|
||||
return;
|
||||
}
|
||||
//проверяем свитки
|
||||
|
||||
Reference in New Issue
Block a user