Fix logical boolean.
@@ -122,12 +122,12 @@ private boolean isIgnoredEvent(Event event) {
return false;
}
- private boolean isTimingsIgnoredEvent(Event event) {
+ private boolean isTimedEvent(Event event) {
if (event instanceof AttachCapabilitiesEvent) {
- return true;
- }
return false;
}
+ return true;
+ }
/**
* @author unknown
@@ -175,7 +175,7 @@ public boolean post(Event event, boolean forced) {
for (; index < listeners.length; index++) {
final IEventListener listener = listeners[index];
if (listener instanceof IMixinASMEventHandler) {
- if (isTimingsIgnoredEvent(event)) {
+ if (isTimedEvent(event)) {
// Certain events are thrown potentially thousands of times during initialization.
modListener = (IMixinASMEventHandler) listener;
modListener.getTimingsHandler().startTimingIfSync();
