--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/TemplateCommand.java 2012/03/18 11:38:57 1747 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/TemplateCommand.java 2012/03/18 11:43:52 1748 @@ -183,6 +183,10 @@ int x = loc.getBlockX() + i + 1; int y = loc.getBlockY() + j; int z = loc.getBlockZ() + k; + + if (y >= 256) { + continue; + } int type = template[i][j][k].id; byte data = (byte) template[i][j][k].subId;