please help! i made this cs for my new weapon and i get this error when i build it!
Terraria 1.2.4.1, tAPI Builder r14a
========================================
Building mod Wepon Mod
Validating Jsons...
Compiling code...
OwNe.cs (20,10)
{ expected
public class Space Edge : ModItem
^
OwNe.cs (25,10)
Invalid token ':' in class, struct, or interface member declaration
public class Space Edge : ModItem
^
OwNe.cs (5,11)
Invalid token '{' in class, struct, or interface member declaration
{
^
Failed to build Wepon Mod.
========================================
Built 0 mods.
heres my cs
using Terraria;
using System;
using System.Diagnostics;
using Microsoft.Xna.Framework;
using TAPI;
namespace WM.items
{
public class Space Edge : ModItem
{
public override void DamageNPC(Player owner, NPC npc, int hitDir, ref int damage, ref float knockback, ref bool crit, ref float critMult)
{
npc.addBuff (24, 300, true);
}
}
}