Skip to content

Commit

Permalink
Added special handling for cloth block
Browse files Browse the repository at this point in the history
  • Loading branch information
dalbothek committed Jun 26, 2013
1 parent 2869f7f commit 889b5e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions burger/toppings/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ def skip_it():
if final["name"] == "cobblestone" and texture_setter:
final["name"] = "stonebrick"
texture_setter, name_setter = name_setter, texture_setter
# For some reason wool is the only block without an ID
elif final["name"] == "cloth":
final["id"] = 35
lang_key = "%s.name" % final["name"]
if language and lang_key in language:
final["display_name"] = language[lang_key]
Expand Down

0 comments on commit 889b5e6

Please sign in to comment.