From 4468a880d2b93fa208b8b15e315d617f7480bc27 Mon Sep 17 00:00:00 2001 From: Zack Date: Thu, 10 Jul 2014 21:23:50 -0400 Subject: [PATCH] Fix Time being based on 30 minute hours. --- TShockAPI/Commands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index 0fef3868..aada705d 100755 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -3146,7 +3146,7 @@ namespace TShockAPI time += 4.5; if (!Main.dayTime) time += 15.0; - args.Player.SendInfoMessage("The current time is {0}:{1:D2}.", (int)Math.Floor(time), (int)Math.Round((time % 1.0) * 30.0)); + args.Player.SendInfoMessage("The current time is {0}:{1:D2}.", (int)Math.Floor(time), (int)Math.Round((time % 1.0) * 60.0)); return; }