Change setModifed so it can't change modified back to false (#1805)

This commit is contained in:
Lucwousin
2019-10-17 23:46:24 +02:00
committed by Ganom
parent bca49d2f7d
commit 220b90c0a6
13 changed files with 29 additions and 18 deletions

View File

@@ -750,7 +750,7 @@ public abstract class RSClientMixin implements RSClient
client.getCallbacks().post(MenuEntryAdded.class, event);
if (event.hasBeenModified() && client.getMenuOptionCount() == newCount)
if (event.isModified() && client.getMenuOptionCount() == newCount)
{
options[oldCount] = event.getOption();
targets[oldCount] = event.getTarget();