OSDN Git Service

Merge branch 'vgd' of into Split_renderers
[automap/automap.git] / Automap / Data / BlockDesignator.cs
index f7ef845..8511308 100644 (file)
@@ -12,7 +12,7 @@ using Vintagestory.API.MathTools;
 
 namespace Automap
 {
-       public delegate void BlockDesignatonAction(ICoreClientAPI clientAPI, PointsOfInterest poi, BlockPos posn, Block block);
+       public delegate void BlockDesignatorAction(ICoreClientAPI clientAPI, PointsOfInterest poi, BlockPos posn, Block block);
 
        /// <summary>
        /// Point of Interest Rule Designator
@@ -24,7 +24,7 @@ namespace Automap
                public Color OverwriteColor;
 
                [JsonIgnore]
-               public BlockDesignatonAction SpecialAction;
+               public BlockDesignatorAction SpecialAction;
 
                [JsonProperty]
                public string SpecialActionName;
@@ -51,7 +51,7 @@ namespace Automap
                        this.Enabled = true;
                }
 
-               public BlockDesignator(AssetLocation pattern, Color overwriteColor, EnumBlockMaterial? material, BlockDesignatonAction specialAct)
+               public BlockDesignator(AssetLocation pattern, Color overwriteColor, EnumBlockMaterial? material, BlockDesignatorAction specialAct)
                {
                        this.Pattern = pattern;
                        this.OverwriteColor = overwriteColor;