Module:Sprite: Difference between revisions

m
Both are not working at the same time
m (Everything broke, so I hope this fixes it.)
m (Both are not working at the same time)
Line 4: Line 4:


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


Line 66: Line 66:


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


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

edits