diff --git a/SkyBlock/SKYBLOCK.SK/Functions/hoppercounter.sk b/SkyBlock/SKYBLOCK.SK/Functions/hoppercounter.sk index c61d83ca..c20f1140 100644 --- a/SkyBlock/SKYBLOCK.SK/Functions/hoppercounter.sk +++ b/SkyBlock/SKYBLOCK.SK/Functions/hoppercounter.sk @@ -32,7 +32,7 @@ function hoppercounter(p:player,action:text,amount:integer=1) :: boolean: # # > Check if a upgradeable system is needed or not: if {_maxhopper} is not {_defaulthopper}: - set {_lvl} to {SB::island::%{_locx}%_%{_locy}%_%{_locz}%::hopperupgrade} + set {_lvl} to {SB::island::%{_x}%_%{_y}%_%{_z}%::hopperupgrade} # # > Calculate how much we can upgrade the hoppers until the maximum is reached. set {_upgradeablehopper} to ({_maxhopper} - {_defaulthopper}) @@ -57,7 +57,7 @@ function hoppercounter(p:player,action:text,amount:integer=1) :: boolean: set {_uuid} to uuid of {_p} set {_lang} to {SK::lang::%{_uuid}%} set {_msg} to {SB::lang::bc::islandhopperlimitinfo::%{_lang}%} - replace all "" with "" in {_msg} + replace all "" with "%{_hopper}%" in {_msg} message "%{SB::lang::prefix::%{_lang}%}% %{_msg}%" to {_p} return false else: