This commit is contained in:
Jesse Boyd 2016-11-30 19:58:05 +11:00
parent 90e0ab574d
commit 9f8a0456e3
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -401,7 +401,8 @@ public enum BBC {
Fawe.debug(this.format(args));
} else {
try {
Method method = actor.getClass().getDeclaredMethod("print", String.class);
Method method = actor.getClass().getMethod("print", String.class);
method.setAccessible(true);
method.invoke(actor, (PREFIX.isEmpty() ? "" : PREFIX.s() + " ") + this.format(args));
} catch (NoSuchMethodException e) {
e.printStackTrace();