Fix chests and update submodule

This commit is contained in:
MarioE 2014-05-10 22:46:33 -04:00
parent be19f6cb00
commit 14eb317dbd
3 changed files with 3 additions and 2 deletions

1
.gitmodules vendored
View file

@ -1,3 +1,4 @@
[submodule "TerrariaServerAPI"]
path = TerrariaServerAPI
url = https://github.com/Deathmax/TerrariaAPI-Server.git
ignore = dirty

View file

@ -2830,7 +2830,7 @@ namespace TShockAPI
var b = args.Data.ReadInt8();
var name = "";
if (b <= 20)
if (b != 0 && b <= 20)
name = args.Data.ReadString();
args.Player.ActiveChest = id;

@ -1 +1 @@
Subproject commit 41473d9c8bfadbd14fca2e917c8299903827eae5
Subproject commit e3a885b1bda4ce369ba58ec1cd7f5dd10fcd3444