updated to api v1.4
This commit is contained in:
parent
fe4449a436
commit
e47481210e
3 changed files with 2 additions and 274 deletions
|
|
@ -28,7 +28,7 @@ using TerrariaAPI.Hooks;
|
|||
|
||||
namespace TShockAPI
|
||||
{
|
||||
[APIVersion(1, 3)]
|
||||
[APIVersion(1, 4)]
|
||||
public class TShock : TerrariaPlugin
|
||||
{
|
||||
public static readonly Version VersionNum = new Version(2, 1, 0, 6);
|
||||
|
|
@ -328,7 +328,7 @@ namespace TShockAPI
|
|||
|
||||
private void GetData(GetDataEventArgs e)
|
||||
{
|
||||
PacketTypes type = (PacketTypes) e.MsgID;
|
||||
PacketTypes type = e.MsgID;
|
||||
TSPlayer player = Players[e.Msg.whoAmI];
|
||||
|
||||
if (!player.ConnectionAlive)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue