What is the difference between org.spongepowered.api.event.Order
‘s members’ being readonly vs. cancelable? (See Order.FIRST
and Order.LAST
) I know that in a cancelable time, you can call setCancelled(true)
, but what does readonly do, and when it used?
Those javadocs are pretty outdated, having been around since the early days of Sponge. Right now, ‘readonly’ isn’t actually implemented - you can cancel at any phase you want.
We may be revisiting Order
in the future, especially with some possible upcoming changes to plugin dependency handling.