mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-25 14:14:46 -04:00
Merge branch 'master' of https://github.com/UnknownShadow200/ClassicalSharp
This commit is contained in:
commit
8673a1e6eb
@ -226,7 +226,7 @@ namespace ClassicalSharp.Gui.Screens {
|
||||
if (game.PureClassic && IsHackBlock(block)) return false;
|
||||
if (block < Block.CpeCount) {
|
||||
int count = game.UseCPEBlocks ? Block.CpeCount : Block.OriginalCount;
|
||||
return block < count;
|
||||
return block < count && game.BlockInfo.Name[block] != "Invalid";
|
||||
}
|
||||
return game.BlockInfo.Name[block] != "Invalid";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user