API Tick, Submodule Update, Changelog Update

This commit is contained in:
Zaicon Kiroshu 2016-11-20 15:15:53 -06:00
parent 50d8b0db30
commit 02815a23ef
3 changed files with 10 additions and 7 deletions

View file

@ -22,6 +22,12 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin
* Added hardened stone to the whitelist of tiles editable by players (@DogooFalchion).
* Added conversion system to send convert old MOTD format into smart text, while preserving initial line starting values to keep byte optimization for background colors Thanks to (@WhiteXZ, @Simon311, and especially @DogooFalchion) for the hard work on this issue.
## TShock 4.3.21
* Compatibility with Terraria 1.3.3.4 (@Zaicon)
* API: Version tick 1.26
* API: Depreciated PlayerDamage and PlayerKillMe packets (now uses PlayerHurtV2 and PlayerDeathV2)
* API: Main.rand now uses UnifiedRandom instead of Random
## TShock 4.3.20
* Security improvement: The auth system is now automatically disabled if a superadmin exists in the database (@Enerdy).
* Removed the `auth-verify` command since `auth` now serves its purpose when necessary (@Enerdy).

View file

@ -38,6 +38,7 @@ using TerrariaApi.Server;
using TShockAPI.DB;
using TShockAPI.Hooks;
using TShockAPI.ServerSideCharacters;
using Terraria.Utilities;
namespace TShockAPI
{
@ -45,7 +46,7 @@ namespace TShockAPI
/// This is the TShock main class. TShock is a plugin on the TerrariaServerAPI, so it extends the base TerrariaPlugin.
/// TShock also complies with the API versioning system, and defines its required API version here.
/// </summary>
[ApiVersion(1, 25)]
[ApiVersion(1, 26)]
public class TShock : TerrariaPlugin
{
/// <summary>VersionNum - The version number the TerrariaAPI will return back to the API. We just use the Assembly info.</summary>
@ -1485,11 +1486,7 @@ namespace TShockAPI
// Damn you ThreadStatic and Redigit
if (Main.rand == null)
{
Main.rand = new Random();
}
if (WorldGen.genRand == null)
{
WorldGen.genRand = new Random();
Main.rand = new UnifiedRandom();
}
if (args.Command == "autosave")

@ -1 +1 @@
Subproject commit b403f9534f57690c0568ec8f8150afa417356cb8
Subproject commit 6486b6083ba0d9c133489b3b7848f441384341f7