mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-04 03:56:41 +00:00
Fix some adapter issues
regen 1.13, tile get npe, null block type values
This commit is contained in:
@ -218,6 +218,9 @@ public class BlockTypesCache {
|
||||
values[internalId] = type;
|
||||
}
|
||||
}
|
||||
for (int i = 0; i < values.length; i++) {
|
||||
if (values[i] == null) values[i] = values[0];
|
||||
}
|
||||
|
||||
states = stateList.toArray(new BlockState[stateList.size()]);
|
||||
|
||||
|
Reference in New Issue
Block a user