Pop fakeXpDrop xp/skill ints off the stack only once
This commit is contained in:
@@ -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"))
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user