This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
199 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[17:20:33] [main/INFO]: Selected language: English (United States) | ||
[17:20:33] [main/INFO]: OpenCraft 24r04 started! | ||
[18:51:10] [main/INFO]: Selected language: Dullutiano (Dulutia) | ||
[18:51:10] [main/INFO]: OpenCraft 24r05 started! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[net.opencraft.sound.Sound] Ignored exception: | ||
java.util.NoSuchElementException: No value present | ||
at java.base/java.util.Optional.get(Optional.java:143) | ||
at net.opencraft.sound.Sound.play(Sound.java:83) | ||
at net.opencraft.sound.SoundManager.update(SoundManager.java:90) | ||
at net.opencraft.renderer.scenes.Scene.setCurrent(Scene.java:56) | ||
at net.opencraft.client.Game.init(Game.java:51) | ||
at net.opencraft.client.Game.run(Game.java:59) | ||
at java.base/java.lang.Thread.run(Thread.java:842) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
[17:20:32] [renderThread/INFO]: Buffered rendering not configured, creating new framework. | ||
[17:20:33] [renderThread/INFO]: Render system initialized! | ||
[18:51:10] [renderThread/INFO]: Buffered rendering not configured, creating new framework. | ||
[18:51:10] [renderThread/INFO]: Render system initialized! | ||
[18:51:10] [renderThread/INFO]: Rendered scene opencraft.scene:load | ||
[18:51:15] [renderThread/INFO]: Rendered scene opencraft.scene:menu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[18:51:10] [soundManager/INFO]: Sound manager started! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package net.opencraft.logging; | ||
|
||
import java.io.FileOutputStream; | ||
import java.io.OutputStream; | ||
import java.io.PrintStream; | ||
|
||
public class InternalLogger { | ||
|
||
private static FileOutputStream fos; | ||
public static PrintStream out; | ||
|
||
static { | ||
try { | ||
fos = new FileOutputStream(LoggerConfig.getLogDir() + "/internal.log"); | ||
out = new PrintStream(fos); | ||
} catch (Exception ignored) { | ||
out = new PrintStream(OutputStream.nullOutputStream()); | ||
} | ||
} | ||
|
||
private InternalLogger() { | ||
} | ||
|
||
|
||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...main/java/net/opencraft/LoggerConfig.java → ...a/net/opencraft/logging/LoggerConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package net.opencraft; | ||
package net.opencraft.logging; | ||
|
||
import java.io.File; | ||
import java.io.IOException; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.