mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Update LegacyMapper.java
This commit is contained in:
parent
5d039c0e2b
commit
2bd65f6423
@ -142,10 +142,12 @@ public final class LegacyMapper {
|
||||
stringToBlockMap.put(id, blockState);
|
||||
}
|
||||
}
|
||||
if (blockState != null) {
|
||||
blockArr[combinedId] = blockState.getInternalId();
|
||||
blockStateToLegacyId4Data.put(blockState.getInternalId(), (Integer) combinedId);
|
||||
blockStateToLegacyId4Data.putIfAbsent(blockState.getInternalBlockTypeId(), combinedId);
|
||||
}
|
||||
}
|
||||
for (int id = 0; id < 256; id++) {
|
||||
int combinedId = id << 4;
|
||||
int base = blockArr[combinedId];
|
||||
|
Loading…
Reference in New Issue
Block a user