|
|
@@ -7,7 +7,7 @@ namespace LoopPortal
|
|
|
[Gadget("LoopPortal")]
|
|
|
public class LoopPortal : Gadget<LoopPortal>
|
|
|
{
|
|
|
- public const string MOD_VERSION = "1.2"; // Set this to the version of your mod.
|
|
|
+ public const string MOD_VERSION = "1.3"; // Set this to the version of your mod.
|
|
|
public const string CONFIG_VERSION = "1.0"; // Increment this whenever you change your mod's config file.
|
|
|
|
|
|
public override IGadgetConfigMenu GetConfigMenu() { return null; }
|
|
|
@@ -22,7 +22,8 @@ namespace LoopPortal
|
|
|
Logger.Log("Loop Portal v" + Info.Mod.Version);
|
|
|
Core.logger = Logger;
|
|
|
|
|
|
- TileInfo tile = new TileInfo(TileType.INTERACTIVE, null as Texture2D, new GameObject("port4")).Register("port4");
|
|
|
+ ItemInfo itemInfo = new ItemInfo(ItemType.GENERIC, "port4", "", null as Texture2D).Register("port4");
|
|
|
+ TileInfo tile = new TileInfo(TileType.INTERACTIVE, null as Texture2D, new GameObject("port4"), itemInfo).Register("port4");
|
|
|
|
|
|
Core.npcId = tile.GetID();
|
|
|
}
|