Module:Sprite: Difference between revisions

m
Maybe it's loadData?
m (Both are not working at the same time)
m (Maybe it's loadData?)
Line 4: Line 4:


local aliasData = {
local aliasData = {
vanillaAliases = mw.loadData([[Module:InventorySlot/Aliases]]),
vanillaAliases = [[Module:InventorySlot/Aliases]],
gm4Aliases = mw.loadData([[Module:Gm4Sprite/Aliases]])
gm4Aliases = [[Module:Gm4Sprite/Aliases]]
}
}


Line 66: Line 66:


if type == "gm4" then
if type == "gm4" then
aliases = aliasData.gm4Aliases
aliases = require( aliasData.gm4Aliases )
else
else
aliases = aliasData.vanillaAliases
aliases = require( aliasData.vanillaAliases )
end
end


Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits