重构 BiomesState, fix typo

This commit is contained in:
Tnze
2023-04-23 00:08:05 +08:00
parent de2996336c
commit 5f06fa6510
5 changed files with 139 additions and 100 deletions

View File

@ -195,7 +195,7 @@ func (b *BitStorage) WriteTo(w io.Writer) (int64, error) {
}
// Fix recalculate BitStorage internal values for given bits.
// Typically, you should call this method after ReadFrom is called, internal data is changed.
// Typically, you should call this method after ReadFrom is called, which cause internal data is changed.
func (b *BitStorage) Fix(bits int) error {
if bits == 0 {
b.mask = 0