mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-22 10:05:12 +01:00
Fix VB check on Velocity/Sponge
This commit is contained in:
parent
a16a085f75
commit
a981adf7a3
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user