From ac41b8e8f47d6fa9d2f6e458a785865dde1518c5 Mon Sep 17 00:00:00 2001 From: Justin Aquadro Date: Wed, 9 Nov 2011 22:03:21 -0500 Subject: [PATCH] Un-obsoleting BlockType and ItemType constants, since I don't actually plan to remove them. --- SubstrateCS/Source/BlockInfo.cs | 3 +-- SubstrateCS/Source/ItemInfo.cs | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/SubstrateCS/Source/BlockInfo.cs b/SubstrateCS/Source/BlockInfo.cs index 1cd1117..baa4fe1 100644 --- a/SubstrateCS/Source/BlockInfo.cs +++ b/SubstrateCS/Source/BlockInfo.cs @@ -7,7 +7,7 @@ namespace Substrate /// /// Provides named id values for known block types. /// - /// The BlockType constants are obsolete. The preferred method to lookup + /// The preferred method to lookup /// Minecraft block IDs is to access the ID field of the corresponding static BlockInfo /// object in the BlockInfo class. /// The static BlockInfo objects can be re-bound to new BlockInfo objects, allowing @@ -15,7 +15,6 @@ namespace Substrate /// in supporting nonstandard worlds, and the ability to future-proof their application against /// changes to Block IDs, by implementing functionality to import block/ID mappings from an /// external source and rebinding the objects in BlockInfo. - [Obsolete("Prefer using BlockInfo.Something.ID over BlockType.SOMETHING")] public static class BlockType { public const int AIR = 0; diff --git a/SubstrateCS/Source/ItemInfo.cs b/SubstrateCS/Source/ItemInfo.cs index a6344cb..8889195 100644 --- a/SubstrateCS/Source/ItemInfo.cs +++ b/SubstrateCS/Source/ItemInfo.cs @@ -7,9 +7,7 @@ namespace Substrate /// /// Provides named id values for known item types. /// - /// The BlockType constants are obsolete. See for additional - /// information. - [Obsolete("Prefer using ItemInfo.Something.ID over ItemType.SOMETHING")] + /// See for additional information. public static class ItemType { public const int IRON_SHOVEL = 256;