Skip to content

Commit d3e7d4d

Browse files
committed
Fix error preventing load
1 parent 7469c2f commit d3e7d4d

4 files changed

Lines changed: 43 additions & 38 deletions

File tree

CHANGELOG.md

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
1-
# Changelog
2-
3-
All notable changes to this project will be documented here.
4-
5-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
6-
7-
## v1.1.0 - October 4th, 2025
8-
9-
### Changed
10-
- Temporarily move name setting to the "Accessibility" tab for better visibility.
11-
12-
## v1.0.0 - September 22th, 2025
13-
14-
### Added
15-
- Ability to set a custom preferred in-game name.
16-
- Integration with the main menu settings for easy customization.
17-
- Localization support for multiple languages.
1+
# Changelog
2+
3+
All notable changes to this project will be documented here.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
6+
7+
## v1.2.0 - November 9th, 2025
8+
9+
### Fixed
10+
- Resolved a fatal error caused by a change in THE ROOTS update.
11+
12+
## v1.1.0 - October 4th, 2025
13+
14+
### Changed
15+
- Temporarily move name setting to the "Accessibility" tab for better visibility.
16+
17+
## v1.0.0 - September 22th, 2025
18+
19+
### Added
20+
- Ability to set a custom preferred in-game name.
21+
- Integration with the main menu settings for easy customization.
22+
- Localization support for multiple languages.

src/CustomizableName/CustomizableName.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<PluginAuthor>Adeithe</PluginAuthor>
4-
<PluginVersion>1.1.1</PluginVersion>
4+
<PluginVersion>1.2.0</PluginVersion>
55
<PluginName>CustomizableName</PluginName>
66
<PluginID>Adeithe.Peak.CustomizableName</PluginID>
77

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
using HarmonyLib;
2-
using Photon.Pun;
3-
4-
namespace CustomizableName.Patches {
5-
[HarmonyPatch(typeof(NetworkConnector))]
6-
internal class NetworkConnectorPatch {
7-
[HarmonyPatch("Start"), HarmonyPostfix]
8-
public static void Start_Postfix(NetworkConnector __instance) {
9-
PhotonNetwork.NickName = NetworkConnector.GetUsername();
10-
}
11-
12-
13-
[HarmonyPatch("GetUsername"), HarmonyPrefix]
14-
public static bool GetUsername_Prefix(ref string __result) {
15-
__result = Plugin.Config.DisplayName;
16-
return false;
17-
}
18-
}
19-
}
1+
using HarmonyLib;
2+
using Peak.Network;
3+
using Photon.Pun;
4+
5+
namespace CustomizableName.Patches {
6+
[HarmonyPatch(typeof(NetworkConnector))]
7+
internal class NetworkConnectorPatch {
8+
[HarmonyPatch("Start"), HarmonyPostfix]
9+
public static void Start_Postfix(NetworkConnector __instance) {
10+
PhotonNetwork.NickName = NetworkingUtilities.GetUsername();
11+
}
12+
13+
[HarmonyPatch(typeof(NetworkingUtilities), "GetUsername"), HarmonyPrefix]
14+
public static bool GetUsername_Prefix(ref string __result) {
15+
__result = Plugin.Config.DisplayName;
16+
return false;
17+
}
18+
}
19+
}

src/CustomizableName/thunderstore.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ containsNsfwContent = false
1313

1414
[package.dependencies]
1515
BepInEx-BepInExPack_PEAK = "5.4.75301"
16-
PEAKModding-PEAKLib_UI = "1.5.0"
16+
PEAKModding-PEAKLib_UI = "1.6.1"
1717

1818
[build]
1919
icon = "../../icon.png"

0 commit comments

Comments
 (0)