/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/secretdoor/DoorStorage.java
ViewVC logotype

Diff of /miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/secretdoor/DoorStorage.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3133 by torben, Mon Mar 9 13:45:03 2015 UTC revision 3134 by torben, Fri Nov 18 13:23:24 2016 UTC
# Line 94  public class DoorStorage { Line 94  public class DoorStorage {
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);

Legend:
Removed from v.3133  
changed lines
  Added in v.3134

  ViewVC Help
Powered by ViewVC 1.1.20