mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
World Restriction Check
Disabled incoming messages when world is Restricted.
This commit is contained in:
parent
71d780248f
commit
498dcff8b9
1 changed files with 249 additions and 247 deletions
|
@ -43,6 +43,8 @@ public static partial class ModNetwork
|
||||||
|
|
||||||
if (ModSettings.Entry_FriendsOnly.Value && !Friends.FriendsWith(sender))
|
if (ModSettings.Entry_FriendsOnly.Value && !Friends.FriendsWith(sender))
|
||||||
return false; // ignore messages from non-friends if friends only is enabled
|
return false; // ignore messages from non-friends if friends only is enabled
|
||||||
|
if (StickerSystem.RestrictedInstance == true) // ignore messages from users when the world is restricted. This also includes older or modified version of Stickers mod.
|
||||||
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue