I'm trying to create a simple function to remove items at a location, but the server just crashes. If I remove the 't.Delete();' line, everything else works as intended.
IPooledEnumerable items = map.GetItemsInRange( new Point3D( x, y, 0 ), 0 );
foreach ( Item t in items )...