• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Remove item attribute declared in items.xml

OperatorMopa

Member
Joined
Feb 10, 2014
Messages
127
Reaction score
6
Do you know why i can't removeAttribute declared in items.xml ?

When i setAttribute in lua, i can easly remove it with item:removeAttribute, but when it's set in items.xml item:removeAttribute doesn't work.

Any quickfix for that ?

EDIT.
For now i've checked that i can also remove attribute added in Item::CreateItem, if you won't give me any better idea i'll add another param to that function
 
Last edited:
Back
Top