mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-10 22:56:07 +00:00
fix: residence and palace being built together check did not always work
This commit is contained in:
@@ -5061,7 +5061,7 @@ References: User ID/Message ID, Mode
|
||||
$wid = (int) $wid;
|
||||
|
||||
if (!is_array($type)) {
|
||||
$type = [(int) $type];
|
||||
$type = [$type];
|
||||
} else {
|
||||
foreach ($type as $index => $typeValue) {
|
||||
$type[$index] = (int) $typeValue;
|
||||
|
||||
Reference in New Issue
Block a user