3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-12-26 08:10:10 +01:00

Ensure ViaBackwards init is after ViaVersion on sponge

Dieser Commit ist enthalten in:
Myles 2017-10-12 12:16:38 +01:00
Ursprung 903c1999eb
Commit 7fbd546d43

Datei anzeigen

@ -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());