From 6cc097fda0cad180eb2ad25dfe1897c7de658ad5 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Thu, 30 Apr 2015 15:04:22 -0600 Subject: [PATCH] Use int arrays, not float arrays in config Fixes #914 --- TShockAPI/ConfigFile.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TShockAPI/ConfigFile.cs b/TShockAPI/ConfigFile.cs index 12d477e2..20fc0bdf 100755 --- a/TShockAPI/ConfigFile.cs +++ b/TShockAPI/ConfigFile.cs @@ -86,7 +86,7 @@ namespace TShockAPI /// SuperAdminChatRGB - The chat color for the superadmin group. [Description("#.#.#. = Red/Blue/Green - RGB Colors for the Admin Chat Color. Max value: 255")] - public float[] SuperAdminChatRGB = { 255, 0, 0 }; + public int[] SuperAdminChatRGB = { 255, 0, 0 }; /// SuperAdminChatPrefix - The superadmin chat prefix. [Description("Super admin group chat prefix")] @@ -359,7 +359,7 @@ namespace TShockAPI public bool PreventInvalidPlaceStyle = true; [Description("#.#.#. = Red/Blue/Green - RGB Colors for broadcasts. Max value: 255.")] - public float[] BroadcastRGB = { 127, 255, 212 }; + public int[] BroadcastRGB = { 127, 255, 212 }; // TODO: Get rid of this when the old REST permission model is removed. [Description(