Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 16:12:42 +01:00
Fix MappingDataBase#getOldBlockId implementation (#4201)
Dieser Commit ist enthalten in:
Ursprung
7be7139241
Commit
65b76d53ef
@ -179,7 +179,7 @@ public class MappingDataBase implements MappingData {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getOldBlockId(final int id) {
|
public int getOldBlockId(final int id) {
|
||||||
return blockMappings.getNewIdOrDefault(id, 1);
|
return blockMappings.inverse().getNewIdOrDefault(id, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren