Fizzard007
Golem
please help when i load a world i get this error
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item( key)
at TAPI.PlayerLayer.<.cctor>b__a(TAPI.PlayerLayer layer, Terraria.Player drawPlayer, Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch)
at TAPI.PlayerLayer+Action.OnDraw(Terraria.Player drawPlayer, Microsoft.Xna.Framework.Graphics.SpriteBatch sb)
at TAPI.PlayerLayer.Draw(Terraria.Player drawPlayer, Microsoft.Xna.Framework.Graphics.SpriteBatch sb)
at Terraria.Main.DrawPlayer(Terraria.Player drawPlayer, Microsoft.Xna.Framework.Vector2 Position, System.Single rotation, Microsoft.Xna.Framework.Vector2 rotationOrigin, System.Single shadow = 0)
at Terraria.Main.Draw(Microsoft.Xna.Framework.GameTime gameTime)
and heres my code
{
"displayName": "Cleaver",
"size": [64,64],
"value": [0,2,50,99],
"rare": 6,
"tooltip": "My first good sprite",
"useStyle": 1,
"useAnimation": 7,
"useTime": 7,
"damage": 58,
"knockback": 15,
"useSound": 1,
"autoReuse": true,
"melee": true,
"recipes":
[{
"items": { "Copper Shortsword": 1, "Muramasa": 1, "Hellstone Bar": 15 },
"tiles": [ "Anvil" ],
"creates": 1
}]
}
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item( key)
at TAPI.PlayerLayer.<.cctor>b__a(TAPI.PlayerLayer layer, Terraria.Player drawPlayer, Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch)
at TAPI.PlayerLayer+Action.OnDraw(Terraria.Player drawPlayer, Microsoft.Xna.Framework.Graphics.SpriteBatch sb)
at TAPI.PlayerLayer.Draw(Terraria.Player drawPlayer, Microsoft.Xna.Framework.Graphics.SpriteBatch sb)
at Terraria.Main.DrawPlayer(Terraria.Player drawPlayer, Microsoft.Xna.Framework.Vector2 Position, System.Single rotation, Microsoft.Xna.Framework.Vector2 rotationOrigin, System.Single shadow = 0)
at Terraria.Main.Draw(Microsoft.Xna.Framework.GameTime gameTime)
and heres my code
{
"displayName": "Cleaver",
"size": [64,64],
"value": [0,2,50,99],
"rare": 6,
"tooltip": "My first good sprite",
"useStyle": 1,
"useAnimation": 7,
"useTime": 7,
"damage": 58,
"knockback": 15,
"useSound": 1,
"autoReuse": true,
"melee": true,
"recipes":
[{
"items": { "Copper Shortsword": 1, "Muramasa": 1, "Hellstone Bar": 15 },
"tiles": [ "Anvil" ],
"creates": 1
}]
}