Game api additions, Refactoring, Translation api edits
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user