Forgot second post method. Fixes
@@ -279,7 +279,13 @@ public boolean post(Event spongeEvent, Class<? extends net.minecraftforge.fml.co
post(spongeEvent, listenerCache.getListenersByOrder(order), true, false);
}
+ boolean cancelled = false;
+ if (spongeEvent instanceof Cancellable) {
+ cancelled = ((Cancellable) spongeEvent).isCancelled();
+ }
+ if (!cancelled) {
spongeEvent = SpongeForgeEventFactory.callForgeEvent(spongeEvent, clazz);
+ }
// Fire events to plugins after modifications (default)
for (Order order : Order.values()) {
