mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-21 12:07:38 +01:00
Register listeners a tick later
Because 1.8 has task registration order reverse??? Fixes #730
This commit is contained in:
parent
06c30c2838
commit
ddeaf921be
@ -38,7 +38,7 @@ public class BukkitPlugin extends JavaPlugin implements ViaBackwardsPlatform {
|
||||
public void onEnable() {
|
||||
if (Via.getManager().getInjector().lateProtocolVersionSetting()) {
|
||||
// Enable in the next tick
|
||||
Via.getPlatform().runSync(this::enable);
|
||||
Via.getPlatform().runSync(this::enable, 1);
|
||||
} else {
|
||||
enable();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user