From bf765b3c503c4c0d3674a5da30142d079c16e7a0 Mon Sep 17 00:00:00 2001 From: asayre Date: Mon, 2 Jan 2012 14:26:38 +0000 Subject: [PATCH] --- Server/Region.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/Region.cs b/Server/Region.cs index 9429f09b8..6d7bc10b9 100644 --- a/Server/Region.cs +++ b/Server/Region.cs @@ -1131,7 +1131,7 @@ namespace Server return ReadEnum( xml, attribute, ref value, true ); } - public static bool ReadEnum( XmlElement xml, string attribute, ref T value, bool mandatory ) where T : struct // We can't limit the where clause to Enums only :( + public static bool ReadEnum( XmlElement xml, string attribute, ref T value, bool mandatory ) where T : struct // We can't limit the where clause to Enums only { string s = GetAttribute( xml, attribute, mandatory ); @@ -1148,7 +1148,7 @@ namespace Server } else { - Console.WriteLine( "Could not parse {0} enum attribute '{1}' in element '{2}'", attribute, xml.Name ); + Console.WriteLine( "Could not parse {0} enum attribute '{1}' in element '{2}'", type, attribute, xml.Name ); return false; } }