Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-08 17:20:24 +01:00
Register tabcompletethread once - fixes #1316
Dieser Commit ist enthalten in:
Ursprung
5ca8b0aef8
Commit
5a2c047e7a
@ -1144,15 +1144,15 @@ public class Protocol1_13To1_12_2 extends Protocol {
|
|||||||
userConnection.put(new BlockConnectionStorage(userConnection));
|
userConnection.put(new BlockConnectionStorage(userConnection));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (Via.getConfig().get1_13TabCompleteDelay() > 0) {
|
|
||||||
Via.getPlatform().runRepeatingSync(new TabCompleteThread(), 1L);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void register(ViaProviders providers) {
|
protected void register(ViaProviders providers) {
|
||||||
providers.register(BlockEntityProvider.class, new BlockEntityProvider());
|
providers.register(BlockEntityProvider.class, new BlockEntityProvider());
|
||||||
providers.register(PaintingProvider.class, new PaintingProvider());
|
providers.register(PaintingProvider.class, new PaintingProvider());
|
||||||
|
if (Via.getConfig().get1_13TabCompleteDelay() > 0) {
|
||||||
|
Via.getPlatform().runRepeatingSync(new TabCompleteThread(), 1L);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private int getNewSoundID(final int oldID) {
|
private int getNewSoundID(final int oldID) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren