refactor: remove debug statements
This commit is contained in:
parent
42ba20cc1a
commit
f7a9689ee2
1 changed files with 0 additions and 3 deletions
|
@ -12,9 +12,6 @@ public class InternalsProvider {
|
||||||
final String packageName = Internals.class.getPackage().getName();
|
final String packageName = Internals.class.getPackage().getName();
|
||||||
final String bukkitVersion = Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3];
|
final String bukkitVersion = Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3];
|
||||||
final String fullClassName = packageName + "." + bukkitVersion;
|
final String fullClassName = packageName + "." + bukkitVersion;
|
||||||
System.out.println("[DEBUG] packageName = " + packageName);
|
|
||||||
System.out.println("[DEBUG] bukkitVersion = " + bukkitVersion);
|
|
||||||
System.out.println("[DEBUG] Searching for " + fullClassName + "...");
|
|
||||||
internals = (Internals) Class.forName(fullClassName).getConstructors()[0].newInstance();
|
internals = (Internals) Class.forName(fullClassName).getConstructors()[0].newInstance();
|
||||||
} catch (InvocationTargetException | ClassNotFoundException | InstantiationException | IllegalAccessException |
|
} catch (InvocationTargetException | ClassNotFoundException | InstantiationException | IllegalAccessException |
|
||||||
ClassCastException exception) {
|
ClassCastException exception) {
|
||||||
|
|
Loading…
Reference in a new issue