Temporarily disabled structure loading. It will be restored at a later time.

This commit is contained in:
David Berdik 2019-06-22 17:19:19 -04:00
parent c1e41b96c8
commit f2e0222850

View File

@ -43,8 +43,8 @@ public class StructureLoader {
length = file.getInt("DATA.LENGTH") - 1;
current = 0;
while (current <= length) {
world.getBlockAt(MainX + file.getInt("DATA." + current + ".X"), MainY + file.getInt("DATA." + current + ".Y"), MainZ + file.getInt("DATA." + current + ".Z"))
.setTypeIdAndData(file.getInt("DATA." + current + ".ID"), (byte) file.getInt("DATA." + current + ".DATA"), false);
/*world.getBlockAt(MainX + file.getInt("DATA." + current + ".X"), MainY + file.getInt("DATA." + current + ".Y"), MainZ + file.getInt("DATA." + current + ".Z"))
.setTypeIdAndData(file.getInt("DATA." + current + ".ID"), (byte) file.getInt("DATA." + current + ".DATA"), false);*/
++current;
}
}