Skip to content

Commit

Permalink
SignHistorian - Fixed a bug which could cause SignHistorian to fail w…
Browse files Browse the repository at this point in the history
…hen loading sign data from file.
  • Loading branch information
0xTas committed Dec 29, 2024
1 parent aa7b0f7 commit 64cd499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dev/stardust/modules/SignHistorian.java
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ private void initOrLoadFromSignFile() {
ServerInfo server = mc.getNetworkHandler().getServerInfo();
if (server == null) return;

String address = server.address;
String address = server.address.replace(":", "_");
String dimKey;
if (currentDim != null) dimKey = currentDim.getValue().toString().replace("minecraft:", "");
else dimKey = mc.world.getRegistryKey().getValue().toString().replace("minecraft:", "");
Expand Down

0 comments on commit 64cd499

Please sign in to comment.