This commit is contained in:
2023-07-28 01:25:38 +03:00
parent 74b644fe59
commit cffcf57031
7 changed files with 305 additions and 335 deletions
+1 -3
View File
@@ -1643,9 +1643,7 @@ class User
);
if (isset($t['id'])) {
if ($this->info['login'] == $t['login']) {
$this->error = 'Вы не можете передать самому себе, персонаж ' . $this->microLogin(
$t['id'], 1
) . '';
$this->error = 'Вы не можете передать самому себе';
} elseif ($t['battle'] > 0) {
$this->error = 'Персонаж находится в бою';
} elseif ($t['align'] == 2 && $this->info['admin'] == 0) {