mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Update ViaVersion api usage
This commit is contained in:
parent
5d95bf65a6
commit
123990a795
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ public class GeyserSpigotPlugin extends JavaPlugin implements GeyserBootstrap {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
for (int i = protocolList.size() - 1; i >= 0; i--) {
|
for (int i = protocolList.size() - 1; i >= 0; i--) {
|
||||||
MappingData mappingData = protocolList.get(i).getProtocol().getMappingData();
|
MappingData mappingData = protocolList.get(i).protocol().getMappingData();
|
||||||
if (mappingData != null) {
|
if (mappingData != null) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue