Setting Block Data from Schematic in Bukkit?
问题 I am trying to load and paste a .schematic file (without hooking the MCEdit API) in bukkit. Below is the function/method i use to paste the schematic. While pasting, i keep getting a NullPointerException in the pasting process. When i logged what items were getting placed, i see grass blocks, stone, but not my chests, anything in the chests, or beacons (Maybe even more blocks). The error occurs on this line: block.setData(blockData[index], true); I think this has to do something with the