Game api additions, Refactoring, Translation api edits

This commit is contained in:
MineTec committed 2022-09-18 22:57:19 +02:00
1 parent 59a6e1c423
commit 8409d1cc7d
324 files changed
+20354 -1661

No files matched your search

@@ -5,6 +5,7 @@ import eu.mhsl.minenet.minigames.util.ResourceUtils;
import java.io.IOException;
import java.net.URISyntaxException;
import java.nio.file.Path;
import java.util.logging.Logger;
/**
* Predefined resources which are extracted on Runtime
@@ -23,9 +24,8 @@ public enum Resource {
this.path = Path.of("resources/" + name);
try {
System.out.print("extracting resource " + name + " ... ");
Logger.getLogger("ressource").info("extracting resource " + name + " ... ");
ResourceUtils.extractResource(name);
System.out.println("ok");
} catch (URISyntaxException | IOException e) {
throw new RuntimeException(e);
}