geforkt von Mirrors/AxiomPaperPlugin
Dieser Commit ist enthalten in:
Ursprung
47ae33a92a
Commit
9d3d8f7a63
@ -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)
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren