File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -10,29 +10,18 @@ public class Main : BaseUnityPlugin
1010 {
1111 public const string ModName = "OneShot" ;
1212 public const string ModAuthor = "Septikai" ;
13- public const string ModVersion = "1.1.0 " ;
13+ public const string ModVersion = "1.1.1 " ;
1414 private const string ModGUID = "me.septikai.OneShot" ;
1515 internal Harmony Harmony ;
1616
1717 internal void Awake ( )
1818 {
19- // Creating new harmony instance
2019 Harmony = new Harmony ( ModGUID ) ;
2120
22- // Applying patches
2321 Harmony . PatchAll ( ) ;
2422 Logger . LogInfo ( $ "{ ModName } successfully loaded! Made by { ModAuthor } ") ;
2523 }
2624 }
27-
28- [ HarmonyPatch ( typeof ( VersionNumberTextMesh ) , nameof ( VersionNumberTextMesh . Start ) ) ]
29- public class VersionNumberTextMeshPatch
30- {
31- public static void Postfix ( VersionNumberTextMesh __instance )
32- {
33- __instance . textMesh . text += $ "\n <color=red>{ Main . ModName } v{ Main . ModVersion } by { Main . ModAuthor } </color>";
34- }
35- }
3625
3726 [ HarmonyPatch ( typeof ( Weapon ) , nameof ( Weapon . ammo ) , MethodType . Setter ) ]
3827 public class AmmoPatchSetter
You can’t perform that action at this time.
0 commit comments