Quote:
|
Originally Posted by zedar
Compiling failed 2 errors
BaseShield.cs line13, colum 3 " Modifiers cannot be placed on property or event accessor declarations"
and
BaseShield.cs line13, colum 11 "a get or set accessor expected"
baseShield.cs
Code:
using System;
using System.Collections;
using Server;
using Server.Network;
namespace Server.Items
{
public class BaseShield : BaseArmor
{
public override ArmorMaterialType MaterialType{ get{ return ArmorMaterialType.Plate; }
// <Socketed Shield System> diablo 2 system
private int m_UsedSockets, m_MaxSockets; // line 13
private string m_SocketLabel, m_AugmentList;
}
|
Check the amount of braces you have: public override ArmorMaterialType MaterialType{ get{ return ArmorMaterialType.Plate; }
seems to be missing a brace '}' at the end of that line.
Try adding it and see if it helps, looks like you accidentally deleted the '}'.