Rename debug PackagePlugin target

This commit is contained in:
Liza 2024-12-19 15:25:04 +01:00
parent e0e15acb16
commit 617aece11f
Signed by: liza
GPG Key ID: 2C41B84815CF6445
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Target Name="PackagePlugin" AfterTargets="Build" Condition="'$(Configuration)' == 'Debug'">
<Target Name="PackagePluginDebug" AfterTargets="Build" Condition="'$(Configuration)' == 'Debug'">
<DalamudPackager
ProjectDir="$(ProjectDir)"
OutputPath="$(OutputPath)"

View File

@ -37,6 +37,9 @@ public sealed class Plogon : IDalamudPlugin
private void CheckMessageHandled(XivChatType type, int senderId, ref SeString sender, ref SeString message,
ref bool isHandled)
{
if (_clientState.IsPvP)
return;
if (isHandled || type != XivChatType.NPCDialogue || senderId != 0 ||
!_condition[ConditionFlag.OccupiedSummoningBell])
return;