122 |
|
|
123 |
if (line.charAt(0) == '-') |
if (line.charAt(0) == '-') |
124 |
continue; |
continue; |
125 |
|
|
126 |
|
if ( y >= ysize) { |
127 |
|
throw new Exception( "Template: found more levels in file than specified in header" ); |
128 |
|
} |
129 |
|
|
130 |
String elements[] = line.split(","); |
String elements[] = line.split(","); |
131 |
if (elements.length != zsize) { |
if (elements.length != zsize) { |
228 |
continue; |
continue; |
229 |
if (type == 68) // sign |
if (type == 68) // sign |
230 |
continue; |
continue; |
231 |
|
if (type == 65) // ladder |
232 |
|
continue; |
233 |
|
if (type == 67) // steps |
234 |
|
continue; |
235 |
} |
} |
236 |
|
|
237 |
world.getBlockAt(x, y, z).setTypeIdAndData(type, data, true); |
world.getBlockAt(x, y, z).setTypeIdAndData(type, data, true); |