mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-12-17 16:08:00 +01:00
Ensure ViaBackwards init is after ViaVersion on sponge
This commit is contained in:
parent
903c1999eb
commit
7fbd546d43
@ -14,6 +14,7 @@ import com.google.inject.Inject;
|
||||
import nl.matsv.viabackwards.api.ViaBackwardsPlatform;
|
||||
import nl.matsv.viabackwards.sponge.VersionInfo;
|
||||
import org.spongepowered.api.event.Listener;
|
||||
import org.spongepowered.api.event.Order;
|
||||
import org.spongepowered.api.event.game.state.GameAboutToStartServerEvent;
|
||||
import org.spongepowered.api.plugin.Dependency;
|
||||
import org.spongepowered.api.plugin.Plugin;
|
||||
@ -34,7 +35,7 @@ public class SpongePlugin implements ViaBackwardsPlatform {
|
||||
@Inject
|
||||
private PluginContainer container;
|
||||
|
||||
@Listener
|
||||
@Listener(order = Order.LATE)
|
||||
public void onServerStart(GameAboutToStartServerEvent e) {
|
||||
// Setup Logger
|
||||
this.logger = new LoggerWrapper(container.getLogger());
|
||||
|
Loading…
Reference in New Issue
Block a user