Merge branch 'general-devel' into otapi3
This commit is contained in:
commit
acde508c53
6 changed files with 121 additions and 232 deletions
|
|
@ -25,6 +25,7 @@ using TShockAPI;
|
|||
using TShockAPI.DB;
|
||||
using Terraria.Localization;
|
||||
using System.Linq;
|
||||
using Terraria.DataStructures;
|
||||
|
||||
namespace TShockAPI
|
||||
{
|
||||
|
|
@ -165,7 +166,7 @@ namespace TShockAPI
|
|||
int spawnTileY;
|
||||
TShock.Utils.GetRandomClearTileWithInRange(startTileX, startTileY, tileXRange, tileYRange, out spawnTileX,
|
||||
out spawnTileY);
|
||||
NPC.NewNPC(spawnTileX * 16, spawnTileY * 16, type);
|
||||
NPC.NewNPC(new EntitySource_DebugCommand(), spawnTileX * 16, spawnTileY * 16, type);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue