Merge remote-tracking branch 'runelite/master'
This commit is contained in:
@@ -19,6 +19,15 @@ LABEL8:
|
||||
string_length
|
||||
iconst 0
|
||||
if_icmpgt LABEL15
|
||||
; this is a bank search with no input string. the bank tag plugin uses it to perform its tab searches.
|
||||
iconst 1 ; return value - default to true to match anything
|
||||
iload 0 ; load item id
|
||||
sconst "" ; we are not searching, so there is no search string
|
||||
sconst "bankSearchFilter" ; push event name
|
||||
runelite_callback ; invoke callback
|
||||
pop_int ; pop item id
|
||||
pop_string ; pop search string
|
||||
return ; return rv
|
||||
jump LABEL34
|
||||
LABEL15:
|
||||
iload 0
|
||||
@@ -32,13 +41,11 @@ LABEL19:
|
||||
sstore 0
|
||||
iconst -1 ; load return value
|
||||
iload 0 ; load item id
|
||||
sload 0 ; load item name
|
||||
sload 1 ; load search string
|
||||
sconst "bankSearchFilter" ; push event name
|
||||
runelite_callback ; invoke callback
|
||||
pop_int ; pop item id
|
||||
pop_string ; pop search string
|
||||
pop_string ; pop item name
|
||||
istore 1 ; store return value for the below comparisons
|
||||
iload 1
|
||||
iconst 0
|
||||
|
||||
@@ -10,9 +10,6 @@
|
||||
; callback "setBankScroll"
|
||||
; Fired before bank is calculated
|
||||
; Used by the TabInterface to show fake bank items for tag tabs
|
||||
;
|
||||
; callback "isTabMenuActive"
|
||||
; Used by the TabInterface to skip setting the bank title
|
||||
sconst "beforeBankLayout"
|
||||
runelite_callback
|
||||
get_varbit 5102
|
||||
@@ -968,12 +965,6 @@ LABEL848:
|
||||
add
|
||||
istore 20
|
||||
jump LABEL769
|
||||
SetTitle:
|
||||
iconst 0 ; Compare variable
|
||||
iconst 0 ;
|
||||
sconst "isTabMenuActive"
|
||||
runelite_callback ; skip setting the bank title if the tag tab menu is active
|
||||
if_icmpne FinishBuilding
|
||||
LABEL853:
|
||||
get_varbit 4170
|
||||
iconst 2
|
||||
|
||||
Reference in New Issue
Block a user