So I want to upgrade one of my plugins from Spigot 1.12 to 1.14.1 and after importing the new library I'm getting a lot of errors. Most of them are just updated names from ItemStacks, but my main problem is the following: I have a command, which removes the block sunder a player one by one to the first block above the void. After the player (hopefully) fell into the void and died those removed blocks should be replaced back to their original block. Now I'm getting an error in the following part of the code: Code: final Location loc = target.getLocation(); Location blocksloc = loc.getBlock().getRelative(0, -i, 0).getLocation(); this.plugin.nummer.put(Integer.valueOf(i), Integer.valueOf(blocksloc.getBlock().getTypeId())); <--- Is there a workaround for the getTypeId part? As I dont want to change the whole code which is used in more commands... Thanks!