Skip to content

Commit 8da27a5

Browse files
committed
Hypertale 1.4.2 - Hotfix
1 parent dba6bc3 commit 8da27a5

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ org.gradle.jvmargs=-Xmx1024m -XX:-UseGCOverheadLimit -Dfile.encoding=UTF-8
66
org.gradle.java.installations.auto-download=true
77
# Hypertale properties
88
hypertale.library.version=1.1.0
9-
hypertale.version=1.4.1
9+
hypertale.version=1.4.2
1010
hypertale.init=1
1111

1212
# https://plugins.gradle.org/plugin/net.ltgt.errorprone

launcher/src/main/java/com/fox2code/hypertale/loader/HypertaleModLoader.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,10 @@ public static boolean allowDuplicateLoading(PendingLoadPlugin oldPending, Pendin
177177
Path oldPendingPath, newPendingPath;
178178
return (oldPendingPath = oldPending.getPath()) != null &&
179179
(newPendingPath = newPending.getPath()) != null &&
180-
oldPendingPath.equals(newPendingPath);
180+
(oldPendingPath == newPendingPath ||
181+
oldPendingPath.equals(newPendingPath) ||
182+
oldPendingPath.toAbsolutePath().normalize().equals(
183+
newPendingPath.toAbsolutePath().normalize()));
181184
}
182185

183186
public static PluginManifest passPluginManifest(PluginManifest pluginManifest) {

0 commit comments

Comments
 (0)