Skip to content

Commit fbb9014

Browse files
committed
removed unnecessary logging
1 parent 4df4cf9 commit fbb9014

3 files changed

Lines changed: 8 additions & 15 deletions

File tree

MiniMapMod/MiniMapPlugin.cs

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace MiniMapMod
1010
{
11-
[BepInPlugin("MiniMap", "Mini Map Mod", "3.0.0")]
11+
[BepInPlugin("MiniMap", "Mini Map Mod", "3.0.1")]
1212
public class MiniMapPlugin : BaseUnityPlugin
1313
{
1414
private readonly ISpriteManager SpriteManager = new SpriteManager();
@@ -127,20 +127,12 @@ private bool TryCreateMinimap()
127127
GameObject objectivePanel = GameObject.Find("ObjectivePanel");
128128

129129
if (objectivePanel == null || this.SpriteManager == null)
130-
{
131-
Log.LogInfo("MINIMAP: ObjectivePanel was not found, cancelling creating minimap");
130+
{
132131
Minimap.Destroy();
133132
return false;
134133
}
135134

136-
Transform parentTransform = objectivePanel.transform;//objectivePanel.transform.Find("StripContainer");
137-
138-
if (parentTransform == null)
139-
{
140-
Log.LogInfo("MINIMAP: Subcontainer on ObjectivePanel wasn't found, cancelling creating minimap");
141-
Minimap.Destroy();
142-
return false;
143-
}
135+
Transform parentTransform = objectivePanel.transform;
144136

145137
Log.LogInfo("MINIMAP: Creating Minimap object");
146138

@@ -174,9 +166,7 @@ private void ScanStaticTypes()
174166
{
175167
return;
176168
}
177-
178-
Log.LogInfo("MINIMAP: Scanning scene for container/object changes");
179-
169+
180170
RegisterMonobehaviorType<ChestBehavior>(InteractableKind.Chest, dynamicObject: false);
181171

182172
RegisterMonobehaviorType<ShrineBloodBehavior>(InteractableKind.Shrine, dynamicObject: false);

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ https://www.autism.org/donate-autism-research-institute/
3838
If you have an issue, discover a bug, or have a recommendation please file an issue on my github page.
3939

4040
### Change Log
41+
Minor 3.0.1
42+
- un-spammed console
43+
4144
Compatibility Patch 3.0.0
4245
- Added compatability for Survivors of the Void
4346
- Updated to new Unity Reference packages

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "MiniMapMod",
3-
"version_number": "3.0.0",
3+
"version_number": "3.0.1",
44
"website_url": "https://github.com/DekuDesu",
55
"description": "Adds a MiniMap to your game v3.0",
66
"dependencies": [

0 commit comments

Comments
 (0)