Skip to content

Commit

Permalink
Fix POI generation for hanging signs
Browse files Browse the repository at this point in the history
  • Loading branch information
stwalkerster committed Feb 4, 2024
1 parent fbabafa commit fc17552
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overviewer_core/aux_files/genPOI.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def parseBucketChunks(task_tuple):
try:
data = rset.get_chunk(b[0], b[1])
for poi in itertools.chain(data.get('TileEntities', []), data.get('Entities', []), data.get('block_entities', [])):
if poi['id'] == 'Sign' or poi['id'] == 'minecraft:sign':
if poi['id'] in ['Sign', 'minecraft:sign', 'minecraft:hanging_sign']:
poi = signWrangler(poi)
for name, filter_function in filters:
ff = bucketChunkFuncs[filter_function]
Expand Down Expand Up @@ -199,7 +199,7 @@ def handleEntities(rset, config, config_path, filters, markers):
try:
data = rset.get_chunk(x, z)
for poi in itertools.chain(data.get('TileEntities', []), data.get('Entities', []), data.get('block_entities', [])):
if poi['id'] == 'Sign' or poi['id'] == 'minecraft:sign': # kill me
if poi['id'] in ['Sign', 'minecraft:sign', 'minecraft:hanging_sign']: # kill me
poi = signWrangler(poi)
for name, __, filter_function, __, __, __ in filters:
result = filter_function(poi)
Expand Down

0 comments on commit fc17552

Please sign in to comment.