commit
a3762177c3
2 changed files with 2 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin
|
||||||
* Fixed /spawnmob not spawning negative IDs (@MarioE)
|
* Fixed /spawnmob not spawning negative IDs (@MarioE)
|
||||||
* Validated tile placement on PlaceObject; clients can no longer place frames, paintings etc with dirt blocks (@bartico6, @ProfessorXZ)
|
* Validated tile placement on PlaceObject; clients can no longer place frames, paintings etc with dirt blocks (@bartico6, @ProfessorXZ)
|
||||||
* Updated to new stat tracking system with more data so we can actually make informed software decisions (Jordan Coulam)
|
* Updated to new stat tracking system with more data so we can actually make informed software decisions (Jordan Coulam)
|
||||||
|
* Fixed /time display at the end of Terraria hours (@koneko-nyan)
|
||||||
|
|
||||||
## TShock 4.3.24
|
## TShock 4.3.24
|
||||||
* API: Changed `PlayerHooks` permission hook mechanisms to allow negation from hooks (@deadsurgeon42)
|
* API: Changed `PlayerHooks` permission hook mechanisms to allow negation from hooks (@deadsurgeon42)
|
||||||
|
|
|
||||||
|
|
@ -3872,7 +3872,7 @@ namespace TShockAPI
|
||||||
if (!Main.dayTime)
|
if (!Main.dayTime)
|
||||||
time += 15.0;
|
time += 15.0;
|
||||||
time = time % 24.0;
|
time = time % 24.0;
|
||||||
args.Player.SendInfoMessage("The current time is {0}:{1:D2}.", (int)Math.Floor(time), (int)Math.Round((time % 1.0) * 60.0));
|
args.Player.SendInfoMessage("The current time is {0}:{1:D2}.", (int)Math.Floor(time), (int)Math.Floor((time % 1.0) * 60.0));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue