@@ -2828,47 +2828,6 @@ static void StaticHandler( Player player, CommandReader cmd ) {
28282828 player . IsRepeatingSelection = true ;
28292829 }
28302830 }
2831- #endregion
2832- #region cuboid test
2833-
2834- static readonly CommandDescriptor Cdctest = new CommandDescriptor
2835- {
2836- Name = "ctest" ,
2837- Permissions = new [ ] { Permission . Chat } ,
2838- Category = CommandCategory . New | CommandCategory . Building ,
2839- Help = "Tells you information about our custom texture pack." ,
2840- Handler = textureHandler
2841- } ;
2842-
2843- static void textureHandler ( Player player , CommandReader cmd )
2844- {
2845- Zone zone = player . World . Map . Zones . Find ( "ctest" ) ;
2846- int X = zone . Bounds . XMin ;
2847- int Y = zone . Bounds . YMin ;
2848- int Z = zone . Bounds . ZMin ;
2849-
2850- for ( int a = 0 ; a < zone . Bounds . Width ; a ++ )
2851- {
2852- player . WorldMap . SetBlock ( X + a , Y , Z , Block . Stone ) ;
2853- BlockUpdate blockUpdatea = new BlockUpdate ( null , new Vector3I ( X + a , Y , Z ) , Block . Stone ) ;
2854- player . WorldMap . QueueUpdate ( blockUpdatea ) ;
2855- for ( int b = 0 ; b < zone . Bounds . Length ; b ++ )
2856- {
2857- player . WorldMap . SetBlock ( X + a , Y + b , Z , Block . Stone ) ;
2858- BlockUpdate blockUpdateb = new BlockUpdate ( null , new Vector3I ( X + a , Y + b , Z ) , Block . Stone ) ;
2859- player . WorldMap . QueueUpdate ( blockUpdateb ) ;
2860- for ( int c = 0 ; c < zone . Bounds . Height ; c ++ )
2861- {
2862- player . WorldMap . SetBlock ( X + a , Y + b , Z + c , Block . Stone ) ;
2863- BlockUpdate blockUpdatec = new BlockUpdate ( null , new Vector3I ( X + a , Y + b , Z + c ) , Block . Stone ) ;
2864- player . WorldMap . QueueUpdate ( blockUpdatec ) ;
2865- }
2866- }
2867- }
2868- player . Message ( "Done." ) ;
2869- return ;
2870- }
2871-
28722831 #endregion
28732832 #region snake
28742833 private static readonly CommandDescriptor CdSnake = new CommandDescriptor {
0 commit comments