Skip to content

Commit

Permalink
fix .local server
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Oct 31, 2024
1 parent 14a01a2 commit 9613a21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
min_loader_version=0.16.0

# Mod Properties
mod_version = 1.9.1
mod_version = 1.9.2
maven_group = net.frozenblock
archives_base_name = FrozenLib

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public static void registerNetworking() {
} else {
if (!FrozenLibConfig.FILE_TRANSFER_SERVER) return;
try {
Path path = ctx.server().getServerDirectory().resolve(packet.transferPath()).resolve(packet.fileName());
Path path = ctx.server().getServerDirectory().resolve(packet.transferPath().replace(".local/", "")).resolve(packet.fileName());
FileUtils.copyInputStreamToFile(new ByteArrayInputStream(packet.bytes()), path.toFile());
} catch (IOException ignored) {
}
Expand Down

0 comments on commit 9613a21

Please sign in to comment.