Merge pull request #1037 from BitsOfAByte/no-ot-in-pvp

Don't allow object table in PvP
This commit is contained in:
goat 2023-01-10 18:52:09 +01:00 committed by GitHub
commit 8be6e30eee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -450,6 +450,10 @@ internal class DataWindow : Window
{
ImGui.TextUnformatted("LocalPlayer null.");
}
else if (clientState.IsPvPExcludingDen)
{
ImGui.TextUnformatted("Cannot access object table while in PvP.");
}
else
{
stateString += $"ObjectTableLen: {objectTable.Length}\n";