Merge pull request #1 from SamuelLockyer/patch-1

Added cocoa beens to list of NEEDY_BLOCKS
This commit is contained in:
Olof Larsson 2013-06-22 03:39:20 -07:00
commit d9c43e4e10

4
s2b.rb
View file

@ -15,7 +15,7 @@ require "nbtfile"
# Needy blocks are items like torches and doors, which require other blocks to
# be in place -- otherwise they'll simply fall to the ground as entities. We
# defer them to the end of the BOB output to ensure they're "built" last.
NEEDY_BLOCKS = [6, 26, 27, 28, 31, 32, 37, 38, 39, 40, 50, 51, 55, 59, 63, 64, 65, 66, 68, 69, 70, 71, 72, 75, 76, 77, 78, 81, 83, 85, 90, 96, 104, 105, 106, 111, 115]
NEEDY_BLOCKS = [6, 26, 27, 28, 31, 32, 37, 38, 39, 40, 50, 51, 55, 59, 63, 64, 65, 66, 68, 69, 70, 71, 72, 75, 76, 77, 78, 81, 83, 85, 90, 96, 104, 105, 106, 111, 115, 127]
FILE_HEADER = [
"[META]",
"version=2.0",
@ -131,4 +131,4 @@ print "== START ==\n"
@filenames.each do |filename|
handleFileName(filename)
end
print "== DONE =="
print "== DONE =="