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

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

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

revision 3195 by torben, Fri Nov 18 21:12:47 2016 UTC revision 3196 by torben, Mon May 29 13:03:52 2017 UTC
# Line 122  public class GeneralContractorCommands i Line 122  public class GeneralContractorCommands i
122                          }                                }      
123                          return true;                          return true;
124                  }                  }
125    
126                    if (label.equals("levelandfillarea") ) {
127                            if (validateLevelOrFill(player, label, args) ) {
128    
129                                    levelArea(player, loc, args);
130                                    fillArea(player, loc, args);                            
131                                    setSurface(player, loc, args);  
132    
133                            }
134                    }              
135                                    
136                  if ( label.equals("slopearea") ) {                  if ( label.equals("slopearea") ) {
137                          slopeArea(player, loc, args);                            slopeArea(player, loc, args);  
# Line 145  public class GeneralContractorCommands i Line 155  public class GeneralContractorCommands i
155                          }                          }
156                          return true;                          return true;
157                  }                  }
158    
159    
160                    
161                    
162                  return false;                  return false;
# Line 203  public class GeneralContractorCommands i Line 215  public class GeneralContractorCommands i
215                          return;                          return;
216                  }                  }
217    
218                  if (radius > 20) {                  if (radius > 25) {
219                          player.sendMessage("platform: radius may not exceed 20");                          player.sendMessage("platform: radius may not exceed 25");
220                          return;                          return;
221                  }                  }
222    
# Line 258  public class GeneralContractorCommands i Line 270  public class GeneralContractorCommands i
270                          return;                          return;
271                  }                  }
272    
273                  if (radius > 20) {                  if (radius > 25) {
274                          player.sendMessage("setsurface: radius may not exceed 20");                          player.sendMessage("setsurface: radius may not exceed 25");
275                          return;                          return;
276                  }                  }
277    
# Line 311  public class GeneralContractorCommands i Line 323  public class GeneralContractorCommands i
323                          return false;                          return false;
324                  }                  }
325    
326                  if (radius > 20) {                  if (radius > 25) {
327                          player.sendMessage(label + ": radius may not exceed 20");                          player.sendMessage(label + ": radius may not exceed 25");
328                          return false;                          return false;
329                  }                  }
330                                    

Legend:
Removed from v.3195  
changed lines
  Added in v.3196

  ViewVC Help
Powered by ViewVC 1.1.20