국메 처리 방식을 변경. 국가간 메시지는 외교권자만 가능

This commit is contained in:
Hide_D committed 2019-04-07 22:27:14 +09:00
1 parent 408b1f76e4
commit 06fcc383ce
6 files changed
+38 -19

No files matched your search

+1 -1
View File
@@ -149,7 +149,7 @@ class Message
];
$action = Util::array_get($option['action'], null);
if ($msgType === self::MSGTYPE_DIPLOMACY) {
if ($msgType === self::MSGTYPE_DIPLOMACY && $action !== null) {
$objMessage = new DiplomaticMessage(...$args);
} elseif ($action === 'scout') {
$objMessage = new ScoutMessage(...$args);