updated to api v1.4

This commit is contained in:
high 2011-06-17 15:32:54 -04:00
parent fe4449a436
commit e47481210e
3 changed files with 2 additions and 274 deletions

View file

@ -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)