Fix ViaVersion order
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2023-09-15 17:57:09 +02:00
Ursprung f3327c7f13
Commit 5846ba3e8c

Datei anzeigen

@ -14,7 +14,6 @@ import net.minecraft.world.level.block.state.BlockState;
import org.bukkit.entity.Player;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.function.IntFunction;
@ -35,7 +34,6 @@ public class ViaVersionTranslator implements VersionTranslator {
return NoVersionTranslator::idToState;
List<IntFunction<Integer>> mappers = new ArrayList<>(path.size());
Collections.reverse(path);
for(ProtocolPathEntry entry : path) {
MappingData mappings = entry.protocol().getMappingData();
if(mappings != null)