wombat: fixed bug with bit masks.
wombat: fixed bug with bit masks.

paperscape/paperscape-backend,paperscape/paperscape-mapgen,paperscape/paperscape-backend,paperscape/paperscape-mapgen,paperscape/paperscape-mapgen,paperscape/paperscape-backend,paperscape/paperscape-backend,paperscape/paperscape-mapgen