Problem solved thanks to Empire92 Dear Spigotters! I am experimenting around with a new plugin and would like to replace a certain block in the world with its version stored in WorldEdit's schematics. Although I made sure the block is within the schematics location, I am always getting ArrayOutOfBoundsException. Do you have any idea what could I have done wrong here? Here's the code: https://pastebin.com/XFb4SnmQ How to Reproduce 1) Save a WorldEdit schematic 2) Invoke the updateBlock(block) method from my code within the location of your schematic. Thank you!