94 |
Location loc = new Location(world, x, y, z); |
Location loc = new Location(world, x, y, z); |
95 |
|
|
96 |
String directionStr = config.getString( key + ".direction", ""); |
String directionStr = config.getString( key + ".direction", ""); |
97 |
BlockFace direction = BlockFace.valueOf(directionStr); |
//BlockFace direction = BlockFace.valueOf(directionStr); |
98 |
|
int dir = Integer.parseInt( directionStr ); |
99 |
|
|
100 |
|
BlockFace direction = BlockFace.values()[ dir ]; |
101 |
|
|
102 |
int width = config.getInt( key + ".width", 0); |
int width = config.getInt( key + ".width", 0); |
103 |
int height = config.getInt( key + ".height", 0); |
int height = config.getInt( key + ".height", 0); |