Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-20 15:00:11 +01:00
Only pull data from the map once
Dieser Commit ist enthalten in:
Ursprung
0666403243
Commit
64974d6340
@ -213,7 +213,8 @@ public class GeyserExtensionLoader extends ExtensionLoader {
|
|||||||
GeyserExtensionDescription description = this.extensionDescription(path);
|
GeyserExtensionDescription description = this.extensionDescription(path);
|
||||||
|
|
||||||
// Remove the old extension with the same ID if it exists
|
// Remove the old extension with the same ID if it exists
|
||||||
if (extensionFiles.containsKey(description.id())) {
|
Path oldExtensionFile = extensionFiles.get(description.id());
|
||||||
|
if (oldExtensionFile != null && Files.exists(oldExtensionFile)) {
|
||||||
Files.delete(extensionFiles.get(description.id()));
|
Files.delete(extensionFiles.get(description.id()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren