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];
|
final int exp = intStack[intStackSize - 1];
|
||||||
calculateDamageDealt(exp);
|
calculateDamageDealt(exp);
|
||||||
}
|
}
|
||||||
|
|
||||||
client.setIntStackSize(intStackSize - 2);
|
|
||||||
}
|
}
|
||||||
else if (eventName.equals("hpXpGained"))
|
else if (eventName.equals("hpXpGained"))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
.string_var_count 0
|
.string_var_count 0
|
||||||
iload 0
|
iload 0
|
||||||
iload 1
|
iload 1
|
||||||
sconst "fakeXpDrop"
|
sconst "fakeXpDrop"
|
||||||
runelite_callback ;
|
runelite_callback
|
||||||
pop_int
|
pop_int
|
||||||
pop_int
|
pop_int
|
||||||
iconst 105
|
iconst 105
|
||||||
|
|||||||
Reference in New Issue
Block a user