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 org.bukkit.entity.Player;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.function.IntFunction;
|
import java.util.function.IntFunction;
|
||||||
|
|
||||||
@ -34,6 +35,7 @@ public class ViaVersionTranslator implements VersionTranslator {
|
|||||||
return NoVersionTranslator::idToState;
|
return NoVersionTranslator::idToState;
|
||||||
|
|
||||||
List<IntFunction<Integer>> mappers = new ArrayList<>(path.size());
|
List<IntFunction<Integer>> mappers = new ArrayList<>(path.size());
|
||||||
|
Collections.reverse(path);
|
||||||
for(ProtocolPathEntry entry : path) {
|
for(ProtocolPathEntry entry : path) {
|
||||||
MappingData mappings = entry.protocol().getMappingData();
|
MappingData mappings = entry.protocol().getMappingData();
|
||||||
if(mappings != null)
|
if(mappings != null)
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren