Fix chests and update submodule
This commit is contained in:
parent
be19f6cb00
commit
14eb317dbd
3 changed files with 3 additions and 2 deletions
1
.gitmodules
vendored
1
.gitmodules
vendored
|
|
@ -1,3 +1,4 @@
|
||||||
[submodule "TerrariaServerAPI"]
|
[submodule "TerrariaServerAPI"]
|
||||||
path = TerrariaServerAPI
|
path = TerrariaServerAPI
|
||||||
url = https://github.com/Deathmax/TerrariaAPI-Server.git
|
url = https://github.com/Deathmax/TerrariaAPI-Server.git
|
||||||
|
ignore = dirty
|
||||||
|
|
|
||||||
|
|
@ -2830,7 +2830,7 @@ namespace TShockAPI
|
||||||
var b = args.Data.ReadInt8();
|
var b = args.Data.ReadInt8();
|
||||||
var name = "";
|
var name = "";
|
||||||
|
|
||||||
if (b <= 20)
|
if (b != 0 && b <= 20)
|
||||||
name = args.Data.ReadString();
|
name = args.Data.ReadString();
|
||||||
|
|
||||||
args.Player.ActiveChest = id;
|
args.Player.ActiveChest = id;
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 41473d9c8bfadbd14fca2e917c8299903827eae5
|
Subproject commit e3a885b1bda4ce369ba58ec1cd7f5dd10fcd3444
|
||||||
Loading…
Add table
Add a link
Reference in a new issue