From 82c2f4bb9c163893dac2e9051f5e2163702cd646 Mon Sep 17 00:00:00 2001 From: yi12345 Date: Wed, 24 Jul 2013 01:09:53 +0300 Subject: [PATCH] update: now banned players cannot get resources --- Templates/Build/17.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Templates/Build/17.tpl b/Templates/Build/17.tpl index 558232d7..dabb586a 100644 --- a/Templates/Build/17.tpl +++ b/Templates/Build/17.tpl @@ -29,7 +29,7 @@ $userAccess = $database->getUserField($villageOwner,'access',0); } $maxcarry = $market->maxcarry; $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){ ?>