mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
vacation mode but i will disable it just implemented but will be disabled
This commit is contained in:
@@ -148,6 +148,11 @@ class Units {
|
||||
$id = $generator->getBaseID($coor['x'],$coor['y']);
|
||||
if (!$database->getVillageState($id)){
|
||||
$form->addError("error","Coordinates do not exist");
|
||||
//check vaction mode- by advocaite
|
||||
if($database->getvacmodexy($id)){
|
||||
$form->addError("error","User is on vacation mode");
|
||||
}
|
||||
//END Vaction mode check
|
||||
}
|
||||
}
|
||||
if (!empty($coor)) {
|
||||
|
||||
Reference in New Issue
Block a user