mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
Only Print Loaded Plugins When Debug Enabled
(cherry picked from commit 2629186cc0)
This commit is contained in:
@@ -7,6 +7,7 @@ import java.util.*;
|
|||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
|
import com.rs2.GameConstants;
|
||||||
import com.rs2.event.EventSubscriber;
|
import com.rs2.event.EventSubscriber;
|
||||||
import com.rs2.game.players.Player;
|
import com.rs2.game.players.Player;
|
||||||
import com.rs2.util.LoggerUtils;
|
import com.rs2.util.LoggerUtils;
|
||||||
@@ -73,8 +74,9 @@ public final class PluginService {
|
|||||||
|
|
||||||
base = base.replace(".java", "");
|
base = base.replace(".java", "");
|
||||||
|
|
||||||
System.out.println(base);
|
if (GameConstants.SERVER_DEBUG) {
|
||||||
System.out.println(dir.getName());
|
System.out.println(base);
|
||||||
|
}
|
||||||
|
|
||||||
if (!file.isDirectory()) {
|
if (!file.isDirectory()) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user