forked from BynBang/OpenPrestige
fixed bugs, memory leaks, etc
This commit is contained in:
1 parent
aa4f6b6ddc
commit
c3f8f23c1d
124 files changed
+1060
-420
No files matched your search
@@ -22,7 +22,7 @@ public class TextVisitFactoryMixin {
|
||||
private static void replaceTextBeforeVisitFormatted(CArgs cArgs) {
|
||||
String text = (String)cArgs.get(0);
|
||||
if (text != null) {
|
||||
if (!HookBridge.hasTextReplaceListeners(Prestige.eventBus, TextReplaceEvent.class)) {
|
||||
if (Prestige.eventBus == null || !HookBridge.hasTextReplaceListeners(Prestige.eventBus, TextReplaceEvent.class)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user