reduce amount of lists that exist during runtime for custom materials (#50832)

This commit is contained in:
William Wallace
2020-05-06 13:00:39 +01:00
committed by GitHub
parent 44aab54b06
commit e007b3dcab
8 changed files with 54 additions and 40 deletions
+1 -1
View File
@@ -84,7 +84,7 @@
unwrenched_sign.desc = "[desc] It can be placed on a wall."
unwrenched_sign.icon_state = icon_state
unwrenched_sign.sign_path = type
unwrenched_sign.custom_materials = custom_materials //This is here so picture frames and wooden things don't get messed up.
unwrenched_sign.set_custom_materials(custom_materials) //This is here so picture frames and wooden things don't get messed up.
unwrenched_sign.is_editable = is_editable
unwrenched_sign.obj_integrity = obj_integrity //Transfer how damaged it is.
unwrenched_sign.setDir(dir)