Pop fakeXpDrop xp/skill ints off the stack only once

This commit is contained in:
Lucwousin
2019-11-08 11:05:55 +01:00
parent f2c268190e
commit ff68b83a82
2 changed files with 2 additions and 4 deletions

View File

@@ -378,8 +378,6 @@ public class XpDropPlugin extends Plugin
final int exp = intStack[intStackSize - 1];
calculateDamageDealt(exp);
}
client.setIntStackSize(intStackSize - 2);
}
else if (eventName.equals("hpXpGained"))
{

View File

@@ -5,8 +5,8 @@
.string_var_count 0
iload 0
iload 1
sconst "fakeXpDrop"
runelite_callback ;
sconst "fakeXpDrop"
runelite_callback
pop_int
pop_int
iconst 105