Fixed BlockDB Debug error.

Needed to be updated to use GetReadLock()
Merge pull request #47 from Gamemakergm/patch-1

Fixed BlockDB Debug error.