mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
throw fists when penumbra or glamourer isn't active
This commit is contained in:
parent
c658c7c622
commit
bbab9d0b26
6 changed files with 37 additions and 7 deletions
|
|
@ -43,7 +43,10 @@ public class PlayerDataFactory
|
|||
{
|
||||
if (!_ipcManager.Initialized)
|
||||
{
|
||||
throw new InvalidOperationException("Penumbra is not connected");
|
||||
_mareMediator.Publish(new NotificationMessage("Penumbra/Glamourer inactive",
|
||||
"Mare attempted to process building your character data, but Penumbra or Glamourer are inactive. Enable and set up Penumbra and Glamourer for Mare to be able to function.",
|
||||
NotificationType.Error));
|
||||
throw new InvalidOperationException("Penumbra or Glamourer is not connected");
|
||||
}
|
||||
|
||||
if (playerRelatedObject == null) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue