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,9 +142,11 @@ public final class LegacyMapper {
|
|||||||
stringToBlockMap.put(id, blockState);
|
stringToBlockMap.put(id, blockState);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
blockArr[combinedId] = blockState.getInternalId();
|
if (blockState != null) {
|
||||||
blockStateToLegacyId4Data.put(blockState.getInternalId(), (Integer) combinedId);
|
blockArr[combinedId] = blockState.getInternalId();
|
||||||
blockStateToLegacyId4Data.putIfAbsent(blockState.getInternalBlockTypeId(), combinedId);
|
blockStateToLegacyId4Data.put(blockState.getInternalId(), (Integer) combinedId);
|
||||||
|
blockStateToLegacyId4Data.putIfAbsent(blockState.getInternalBlockTypeId(), combinedId);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for (int id = 0; id < 256; id++) {
|
for (int id = 0; id < 256; id++) {
|
||||||
int combinedId = id << 4;
|
int combinedId = id << 4;
|
||||||
|
Loading…
Reference in New Issue
Block a user