Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-11-20 06:50:10 +01:00
Ensure ViaBackwards init is after ViaVersion on sponge
Dieser Commit ist enthalten in:
Ursprung
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());
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren