File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
src/Module/Message/Action/AddContact Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,21 @@ public function handle(GameControllerInterface $game): void
7171 $ this ->privateMessageSender ->send (
7272 $ userId ,
7373 $ recipient ->getId (),
74- _ ('Der Spieler betrachtet Dich von nun an als Feind ' )
74+ _ ('Der Siedler betrachtet Dich von nun an als Feind ' )
75+ );
76+ }
77+ if ($ mode == ContactListModeEnum::FRIEND ) {
78+ $ this ->privateMessageSender ->send (
79+ $ userId ,
80+ $ recipient ->getId (),
81+ _ ('Der Siedler betrachtet Dich von nun an als Freund ' )
82+ );
83+ }
84+ if ($ mode == ContactListModeEnum::NEUTRAL ) {
85+ $ this ->privateMessageSender ->send (
86+ $ userId ,
87+ $ recipient ->getId (),
88+ _ ('Der Siedler betrachtet Dich von nun an als neutral ' )
7589 );
7690 }
7791 $ game ->getInfo ()->addInformation (_ ('Der Spieler wurde hinzugefügt ' ));
You can’t perform that action at this time.
0 commit comments