View Single Post
Old 06-01-2004, 08:15 AM   #13 (permalink)
Captain The First
Forum Expert
 
Captain The First's Avatar
 
Join Date: Jun 2003
Location: The Netherlands
Posts: 647
Red face

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 '}'.
__________________
Captain The First
_________________

Undisclosed shard (status: building since Feb. 2003)
Captain The First is offline   Reply With Quote