Fix minor error in registerEntity

Missing "2".
Merge pull request #102 from CirnoTheGenius/patch-1

Fix minor error in registerEntity