mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 08:27:43 +01:00
[ci-skip] extra "the" in comment
This commit is contained in:
@@ -21,7 +21,7 @@ index 7b66b301b10158e9c715834b24bdfab1610f4a94..d6502173bebba1a1c62deea2e14b40d7
|
||||
thread.setDaemon(true);
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurPrintStream.java b/src/main/java/net/pl3x/purpur/PurpurPrintStream.java
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..42dfcb704dd3aeb1843db368054925ed1962971a
|
||||
index 0000000000000000000000000000000000000000..f88da0b86a683b25d429ceea4a36d6dde12b2b56
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurPrintStream.java
|
||||
@@ -0,0 +1,65 @@
|
||||
@@ -77,7 +77,7 @@ index 0000000000000000000000000000000000000000..42dfcb704dd3aeb1843db368054925ed
|
||||
+ @Override
|
||||
+ public void println(String line) {
|
||||
+ try {
|
||||
+ // Get the the JavaPlugin that "owns" the calling class
|
||||
+ // Get the JavaPlugin that "owns" the calling class
|
||||
+ JavaPlugin plugin = JavaPlugin.getProvidingPlugin(STACKWALKER.getCallerClass());
|
||||
+
|
||||
+ // Instead of just printing the message, send it to the plugin's logger
|
||||
|
||||
Reference in New Issue
Block a user