Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
Fix VB check on Velocity/Sponge
Dieser Commit ist enthalten in:
Ursprung
a16a085f75
Commit
a981adf7a3
@ -75,7 +75,7 @@ public class SpongePlugin implements ViaPlatform<Player> {
|
|||||||
|
|
||||||
@Listener
|
@Listener
|
||||||
public void onServerStart(GameAboutToStartServerEvent event) {
|
public void onServerStart(GameAboutToStartServerEvent event) {
|
||||||
if (game.getPluginManager().getPlugin("ViaBackwards").isPresent()) {
|
if (game.getPluginManager().getPlugin("viabackwards").isPresent()) {
|
||||||
MappingDataLoader.enableMappingsCache();
|
MappingDataLoader.enableMappingsCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ public class VelocityPlugin implements ViaPlatform<Player> {
|
|||||||
.loader(new VelocityViaLoader())
|
.loader(new VelocityViaLoader())
|
||||||
.injector(new VelocityViaInjector()).build());
|
.injector(new VelocityViaInjector()).build());
|
||||||
|
|
||||||
if (proxy.getPluginManager().getPlugin("ViaBackwards").isPresent()) {
|
if (proxy.getPluginManager().getPlugin("viabackwards").isPresent()) {
|
||||||
MappingDataLoader.enableMappingsCache();
|
MappingDataLoader.enableMappingsCache();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren