Hello everyone, since I changed the version of my server we have problems with the lore, the lines no longer separate properly ...
I know the lines were separating with " "however it no longer works ...
Similarly, the syntax [with lore 'line 1', 'line 2'] or [with lore 'line 1' and 'line 2'] is not optimized at all!
It takes more than 20 minutes for my server to start since this change of syntax when the loading time was previously less than 2 minutes ...
More the %nl% syntax doesn't work too ...
Do you know how to help me?
Thank you very much!
Skript version: latest
SkQuery version: 4.1.1
I apologize for my bad Englishn I'm French!
[doublepost=1572813731,1572634762][/doublepost]Problem solved with this part of my code :
I know the lines were separating with " "however it no longer works ...
Similarly, the syntax [with lore 'line 1', 'line 2'] or [with lore 'line 1' and 'line 2'] is not optimized at all!
It takes more than 20 minutes for my server to start since this change of syntax when the loading time was previously less than 2 minutes ...
More the %nl% syntax doesn't work too ...
Do you know how to help me?
Thank you very much!
Skript version: latest
SkQuery version: 4.1.1
I apologize for my bad Englishn I'm French!
[doublepost=1572813731,1572634762][/doublepost]Problem solved with this part of my code :
Code:
every 1 second:
loop all players:
wait 1 tick
loop all items in loop-player's current inventory:
clear {_lore}
clear {_lore::*}
if lore of loop-item is set:
if line 2 of lore of loop-item is not set:
set {_lore} to "%lore of loop-item%"
set {_lore::*} to {_lore} split by "||"
set lore of loop-item to {_lore::*}
loop all items in loop-player's inventory:
clear {_lore}
clear {_lore::*}
if lore of loop-item is set:
if line 2 of lore of loop-item is not set:
set {_lore} to "%lore of loop-item%"
set {_lore::*} to {_lore} split by "||"
set lore of loop-item to {_lore::*}