Commit 55c1f20e authored by Tommy Ang's avatar Tommy Ang 🤣

Fix deprecated API call using skript-mirror

parent 2cf70575
......@@ -1181,7 +1181,7 @@ on server ping:
#set the motd to "&eServer undergoing host transfer maintenance"
on inventory click:
if inventory name of player's current inventory is "&5TPA":
if "%event.getView().getTitle()%" is "&5TPA":
cancel event
......@@ -274,7 +274,7 @@ on sneak toggle:
# make citizen with id loop-index parsed as integer to sleep
on inventory click:
if inventory name of current inventory of player is "<yellow>NPC Shop":
if "%event.getView().getTitle()%" is "<yellow>NPC Shop":
cancel the event
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment