Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
Ursprung
36b8884d92
Commit
fd9346d4da
@ -139,9 +139,9 @@ public class MappingData extends MappingDataBase {
|
||||
int separatorIndex = newId.indexOf(':');
|
||||
// Vanilla parses an empty and a missing namespace as the minecraft namespace
|
||||
if (separatorIndex == -1) {
|
||||
newId = "minecraft:" + newId;
|
||||
return "minecraft:" + newId;
|
||||
} else if (separatorIndex == 0) {
|
||||
newId = "minecraft" + newId;
|
||||
return "minecraft" + newId;
|
||||
}
|
||||
return newId;
|
||||
}
|
||||
|
@ -483,7 +483,7 @@ public class InventoryPackets extends ItemRewriter<Protocol1_13To1_12_2> {
|
||||
default:
|
||||
String mappedChannel = Protocol1_13To1_12_2.MAPPINGS.getChannelMappings().get(old);
|
||||
if (mappedChannel != null) return mappedChannel;
|
||||
return MappingData.isValid1_13Channel(old) ? old : null;
|
||||
return MappingData.validateNewChannel(old);
|
||||
}
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren