Test inverse
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2023-09-15 17:18:24 +02:00
Ursprung 47ae33a92a
Commit 9d3d8f7a63

Datei anzeigen

@ -14,6 +14,7 @@ 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;
@ -34,6 +35,7 @@ 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)