feat(interface): don't allow object table in PvP

This commit is contained in:
Harmony 2022-11-28 21:16:11 +00:00
parent 071accc5c3
commit a0383a80a9

View file

@ -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";