/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/TemplateCommand.java |
Parent Directory | Revision Log | Patch
revision 1742 by torben, Sun Mar 18 10:45:00 2012 UTC | revision 1743 by torben, Sun Mar 18 10:52:16 2012 UTC | |
---|---|---|
# | Line 170 public class TemplateCommand implements | Line 170 public class TemplateCommand implements |
170 | int y = loc.getBlockY() + j; | int y = loc.getBlockY() + j; |
171 | int z = loc.getBlockZ() + k; | int z = loc.getBlockZ() + k; |
172 | ||
173 | world.getBlockAt(x, y, z).setTypeId( template[i][j][k] ); | int type = template[i][j][k]; |
174 | ||
175 | ||
176 | plugin.getLogger().info( String.format( "Setting typeid at %d,%d,%d to %d", x,y,z, type) ); | |
177 | ||
178 | world.getBlockAt(x, y, z).setTypeId( type ); | |
179 | } | } |
180 | } | } |
181 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |