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

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

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

revision 1540 by torben, Wed Jun 29 18:16:51 2011 UTC revision 1541 by torben, Thu Jun 30 18:37:43 2011 UTC
# Line 81  public class DoorBlockListener extends B Line 81  public class DoorBlockListener extends B
81                                                                    
82                                  String parts[] = line1.split("x");                                  String parts[] = line1.split("x");
83                                  width = Integer.parseInt( parts[0] );                                  width = Integer.parseInt( parts[0] );
84                                  height = Integer.parseInt( parts[0] );                                  height = Integer.parseInt( parts[1] );
85                                                                    
86                                  if (width <1 || width>5) {                                  if (width <1 || width>8) {
87                                          event.getPlayer().sendMessage("width must be between 1 and 5 (inclusive)");                                          event.getPlayer().sendMessage("width must be between 1 and 8 (inclusive)");
88                                          return;                                          return;
89                                  }                                  }
90                                  if (height <2 || height>5) {                                  if (height <2 || height>5) {

Legend:
Removed from v.1540  
changed lines
  Added in v.1541

  ViewVC Help
Powered by ViewVC 1.1.20