We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29fe416 commit c696898Copy full SHA for c696898
BlockDefinitionExtractor/BlockDefinitionExtractor.py
@@ -298,7 +298,13 @@ def examinePackage(m):
298
299
def assembleBlockDefinitionData():
300
global bpnames, subTypes, blockDefinitions
301
- subTypes = list(map(lambda x: bpnames[x], subTypes))
+ try:
302
+ subTypes = list(map(lambda x: bpnames[x], subTypes))
303
+ except KeyError:
304
+ w = Tk()
305
+ w.withdraw()
306
+ messagebox.showerror("Error", "Mods that add new building components are currently not supported! Sorry for the inconvenience.")
307
+ sys.exit()
308
ret = '*'.join(subTypes)
309
310
for key, value in blockDefinitions.items():
0 commit comments