Skip to content

Commit

Permalink
fix(tools): ignore trees/rocks/foraging
Browse files Browse the repository at this point in the history
  • Loading branch information
Veradictus committed Sep 18, 2023
1 parent 124affe commit c7ec822
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/tools/map/parser/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ export default class ProcessMap {
private parseTileLayer(layer: Layer): void {
let name = layer.name.toLowerCase();

// These are visual-only tiles that we use to create map images.
if (name === 'trees' || name === 'rocks' || name === 'foraging') return;

layer.data = this.getLayerData(layer.data, layer.compression)!;

if (name === 'entities') return this.parseEntities(layer);
Expand Down

0 comments on commit c7ec822

Please sign in to comment.