diff --git a/util/ExtrasCollection.cs b/util/ExtrasCollection.cs index e2d75fc94..6a048f9e4 100644 --- a/util/ExtrasCollection.cs +++ b/util/ExtrasCollection.cs @@ -72,13 +72,13 @@ namespace MCGalaxy { } /// Inserts a boolean value into the ExtrasCollection - public void PutBoolean(string key, bool value) { Add(key, value); } + public void PutBoolean(string key, bool value) { this[key] = value; } /// Inserts an integer value into the ExtrasCollection - public void PutInt(string key, int value) { Add(key, value); } + public void PutInt(string key, int value) { this[key] = value; } /// Inserts a string value into the ExtrasCollection - public void PutString(string key, string value) { Add(key, value); } + public void PutString(string key, string value) { this[key] = value; } /// Returns true if there is no data stored public bool IsEmpty() { return Count == 0; }