forked from SteamWar/SteamWar
Merge branch 'FightSystem/fix-tech-and-hull-hider' into FightSystem/Optimize-new-techhider
This commit is contained in:
@@ -56,10 +56,10 @@ public abstract class ChunkHider {
|
|||||||
|
|
||||||
private final byte BITS_PER_LONG = 64;
|
private final byte BITS_PER_LONG = 64;
|
||||||
|
|
||||||
private final int blockIdUsedForHiding = 315;
|
private final int blockIdUsedForHiding;
|
||||||
|
|
||||||
public ChunkHider(Block blockUsedForObfuscation) {
|
public ChunkHider(Block blockUsedForObfuscation) {
|
||||||
// blockIdUsedForHiding = Block.BLOCK_STATE_REGISTRY.getId(blockUsedForObfuscation.defaultBlockState());
|
blockIdUsedForHiding = Block.BLOCK_STATE_REGISTRY.getId(blockUsedForObfuscation.defaultBlockState());
|
||||||
}
|
}
|
||||||
|
|
||||||
private int getLongsRequiredToEncodeEntries(int bitsPerEntry, int entryCount) {
|
private int getLongsRequiredToEncodeEntries(int bitsPerEntry, int entryCount) {
|
||||||
|
|||||||
Reference in New Issue
Block a user