mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 08:17:47 +01:00
feat(interface): don't allow object table in PvP
This commit is contained in:
parent
071accc5c3
commit
a0383a80a9
1 changed files with 4 additions and 0 deletions
|
|
@ -450,6 +450,10 @@ internal class DataWindow : Window
|
||||||
{
|
{
|
||||||
ImGui.TextUnformatted("LocalPlayer null.");
|
ImGui.TextUnformatted("LocalPlayer null.");
|
||||||
}
|
}
|
||||||
|
else if (clientState.IsPvPExcludingDen)
|
||||||
|
{
|
||||||
|
ImGui.TextUnformatted("Cannot access object table while in PvP.");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
stateString += $"ObjectTableLen: {objectTable.Length}\n";
|
stateString += $"ObjectTableLen: {objectTable.Length}\n";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue