You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When "getting" certain blocks from the world an error is thrown in Block.fromBlockStateTag(). This error occurs on multiple blocks like campfire, sculk_shrieker, sculk_sensor and possibly more.
When standing in front of a campfire like this and setting the buildarea with /setbuildarea ~ ~ ~ ~1 ~1 ~1 the following code will throw this error:
Traceback (most recent call last):
File "C:\Users\j-elm\PycharmProjects\GAAI_GDMC\src\bug_report.py", line 14, in <module>
main()
File "C:\Users\j-elm\PycharmProjects\GAAI_GDMC\src\bug_report.py", line 11, in main
block = world_slice.getBlock(ivec3(1, build_area.offset.y, 1))
File "C:\Users\j-elm\AppData\Local\Programs\Python\Python39\lib\site-packages\gdpc\world_slice.py", line 269, in getBlock
return self.getBlockGlobal(ivec3(*position) + addY(self._rect.offset))
File "C:\Users\j-elm\AppData\Local\Programs\Python\Python39\lib\site-packages\gdpc\world_slice.py", line 264, in getBlockGlobal
return Block.fromBlockStateTag(blockStateTag, blockEntityTag)
File "C:\Users\j-elm\AppData\Local\Programs\Python\Python39\lib\site-packages\gdpc\block.py", line 100, in fromBlockStateTag
blockEntityTag = deepcopy(blockEntityTag)
File "C:\Users\j-elm\AppData\Local\Programs\Python\Python39\lib\copy.py", line 172, in deepcopy
y = _reconstruct(x, memo, *rv)
File "C:\Users\j-elm\AppData\Local\Programs\Python\Python39\lib\copy.py", line 270, in _reconstruct
state = deepcopy(state, memo)
File "C:\Users\j-elm\AppData\Local\Programs\Python\Python39\lib\copy.py", line 146, in deepcopy
y = copier(x, memo)
File "C:\Users\j-elm\AppData\Local\Programs\Python\Python39\lib\copy.py", line 230, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "C:\Users\j-elm\AppData\Local\Programs\Python\Python39\lib\copy.py", line 146, in deepcopy
y = copier(x, memo)
File "C:\Users\j-elm\AppData\Local\Programs\Python\Python39\lib\copy.py", line 205, in _deepcopy_list
append(deepcopy(a, memo))
File "C:\Users\j-elm\AppData\Local\Programs\Python\Python39\lib\copy.py", line 172, in deepcopy
y = _reconstruct(x, memo, *rv)
File "C:\Users\j-elm\AppData\Local\Programs\Python\Python39\lib\copy.py", line 270, in _reconstruct
state = deepcopy(state, memo)
File "C:\Users\j-elm\AppData\Local\Programs\Python\Python39\lib\copy.py", line 146, in deepcopy
y = copier(x, memo)
File "C:\Users\j-elm\AppData\Local\Programs\Python\Python39\lib\copy.py", line 230, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "C:\Users\j-elm\AppData\Local\Programs\Python\Python39\lib\copy.py", line 161, in deepcopy
rv = reductor(4)
TypeError: cannot pickle '_struct.Struct' object
The text was updated successfully, but these errors were encountered:
When "getting" certain blocks from the world an error is thrown in Block.fromBlockStateTag(). This error occurs on multiple blocks like
campfire
,sculk_shrieker
,sculk_sensor
and possibly more.When standing in front of a campfire like this and setting the buildarea with
/setbuildarea ~ ~ ~ ~1 ~1 ~1
the following code will throw this error:The text was updated successfully, but these errors were encountered: