mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-29 22:57:16 +00:00
update: now banned players cannot get resources
This commit is contained in:
@@ -29,7 +29,7 @@ $userAccess = $database->getUserField($villageOwner,'access',0);
|
|||||||
}
|
}
|
||||||
$maxcarry = $market->maxcarry;
|
$maxcarry = $market->maxcarry;
|
||||||
$maxcarry *= $market->merchantAvail();
|
$maxcarry *= $market->merchantAvail();
|
||||||
if(isset($_POST['ft'])=='check' && $allres!=0 && $allres <= $maxcarry && ($_POST['x']!="" && $_POST['y']!="" or $_POST['dname']!="") && $checkexist){
|
if(isset($_POST['ft'])=='check' && $allres!=0 && $allres <= $maxcarry && ($_POST['x']!="" && $_POST['y']!="" or $_POST['dname']!="") && $checkexist && $userAccess == 2){
|
||||||
?>
|
?>
|
||||||
<form method="POST" name="snd" action="build.php">
|
<form method="POST" name="snd" action="build.php">
|
||||||
<input type="hidden" name="ft" value="mk1">
|
<input type="hidden" name="ft" value="mk1">
|
||||||
|
|||||||
Reference in New Issue
Block a user