Fix VB check on Velocity/Sponge

This commit is contained in:
KennyTV 2020-07-16 19:43:54 +02:00
parent a16a085f75
commit a981adf7a3
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ public class SpongePlugin implements ViaPlatform<Player> {
@Listener
public void onServerStart(GameAboutToStartServerEvent event) {
if (game.getPluginManager().getPlugin("ViaBackwards").isPresent()) {
if (game.getPluginManager().getPlugin("viabackwards").isPresent()) {
MappingDataLoader.enableMappingsCache();
}

View File

@ -80,7 +80,7 @@ public class VelocityPlugin implements ViaPlatform<Player> {
.loader(new VelocityViaLoader())
.injector(new VelocityViaInjector()).build());
if (proxy.getPluginManager().getPlugin("ViaBackwards").isPresent()) {
if (proxy.getPluginManager().getPlugin("viabackwards").isPresent()) {
MappingDataLoader.enableMappingsCache();
}
}