mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-21 23:37:44 +01:00
Merge pull request #1037 from BitsOfAByte/no-ot-in-pvp
Don't allow object table in PvP
This commit is contained in:
commit
8be6e30eee
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