Added local Global Props
This commit is contained in:
parent
8970edffe8
commit
7b4977c131
10 changed files with 255 additions and 11 deletions
|
@ -7,6 +7,7 @@ using DunGen;
|
|||
using DunGen.Graph;
|
||||
using DunGenPlus;
|
||||
using DunGenPlus.Collections;
|
||||
using HarmonyLib;
|
||||
|
||||
namespace LoadstoneNighty {
|
||||
|
||||
|
@ -79,5 +80,11 @@ namespace LoadstoneNighty {
|
|||
}
|
||||
}
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(Loadstone.Patches.FromProxyPatches), "FromProxyEnd")]
|
||||
public static void FromProxyEndPatch(Dictionary<TileProxy, Tile> dictionary){
|
||||
DunGenPlus.API.AddTileToMainPathDictionary(dictionary);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,6 +47,13 @@ namespace LoadstoneNighty {
|
|||
|
||||
if (validVersion){
|
||||
logger.LogInfo($"Plugin {modName} has been added!");
|
||||
|
||||
try {
|
||||
harmony.PatchAll(typeof(Patch));
|
||||
} catch {
|
||||
|
||||
}
|
||||
|
||||
Patch.Activate();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue