Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
Merge remote-tracking branch 'origin/master' into dev
Dieser Commit ist enthalten in:
Commit
0b541befbc
@ -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