CODE |
RunUO - [www.runuo.com] Version 2.0, Build 2475.19785 Core: Running on .NET Framework Version 2.0.50727 Scripts: Compiling C# scripts...failed (1 errors, 2 warnings) Errors: + Custom/XMLSPAWNER/XmlSpawner2.cs: CS0029: Line 9446: Cannot implicitly convert type 'System.Collections.ArrayL ist' to 'System.Collections.Generic.List<Server.Tile>' Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again. |
CODE |
private static bool HasTileSurface(Map map, int X, int Y, int Z) { if (map == null) return false; #if(RUNUO2RC1) ArrayList tiles = map.GetTilesAt(new Point2D(X, Y), true, true, true); #else List<Server.Tile> tiles = map.GetTilesAt(new Point2D(X, Y), true, true, true); #endif if (tiles == null) return false; |