Add perf. improvments for Forge

This commit is contained in:
Kenzie Togami
2019-05-23 23:19:23 -07:00
committed by Matthew Miller
parent 8c17aab9c5
commit 27c7d488a2
7 changed files with 37 additions and 40 deletions

View File

@ -81,12 +81,6 @@ public class BukkitBlockRegistry extends BundledBlockRegistry {
return id;
}
@Nullable
@Override
public BlockState getBlockStateByInternalId(int id) {
return id >= statesById.length ? null : statesById[id];
}
public static class BukkitBlockMaterial extends PassthroughBlockMaterial {
private final Material material;