Quick fixes to new features.
This commit is contained in:
parent
318bbac56a
commit
7c09a174e8
3 changed files with 9 additions and 5 deletions
|
|
@ -729,14 +729,14 @@ namespace TShockAPI
|
|||
TShock.Utils.HandleCheater(player, "Health/Mana cheat detected. Please use a different character.");
|
||||
}
|
||||
|
||||
if (TShock.Config.ServerSideInventory)
|
||||
NetMessage.syncPlayers();
|
||||
|
||||
if (Config.ServerSideInventory && !player.IsLoggedIn)
|
||||
{
|
||||
player.IgnoreActionsForInventory = true;
|
||||
player.SendMessage("Server Side Inventory is enabled! Please /register or /login to play!", Color.Red);
|
||||
}
|
||||
|
||||
NetMessage.syncPlayers();
|
||||
|
||||
if (Config.AlwaysPvP && !player.TPlayer.hostile)
|
||||
{
|
||||
player.IgnoreActionsForPvP = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue