Permalink
Browse files

Update a few docs.

  • Loading branch information...
me4502 committed Mar 28, 2017
1 parent d501628 commit 2df5616e637ed1a848cb912a097c30606f660a4a
@@ -263,8 +263,6 @@ public void run () {
Bukkit.getLogger().info("Finished uploading! Uploaded " + amount + " IC Pages!");
if(failed.length() > 0)
Bukkit.getLogger().warning("Failed to upload ICs: " + failed);
- } catch (FailedLoginException e) {
- Bukkit.getLogger().warning("Failed to login to wiki!");
} catch (LoginException e) {
e.printStackTrace();
Bukkit.getLogger().warning("Failed to login to wiki!");
@@ -127,6 +127,12 @@ public String getShortDescription() {
return "Makes a line of fire.";
}
+ @Override public String[] getLongDescription() {
+ return new String[] {
+ "The '''MC1252''' sets a certain length of blocks in fron of the IC block on fire (putting fire Block on top of them)."
+ };
+ }
+
@Override
public void verify(ChangedSign sign) throws ICVerificationException {
@@ -148,6 +154,7 @@ public void verify(ChangedSign sign) throws ICVerificationException {
@Override
public void addConfiguration(YAMLProcessor config, String path) {
+ config.setComment(path + "max-fire-range", "The maximum range the Flamethrower IC can be set to.");
maxRange = config.getInt(path + "max-fire-range", 20);
}
}
@@ -62,7 +62,7 @@ else if(minMode == 2)
minimum = Short.parseShort(getLine(3).split(">")[1].trim());
else if(minMode == 3)
minimum = Short.parseShort(getLine(3).split("<=")[1].trim());
- else if(minMode == 4)
+ else
minimum = Short.parseShort(getLine(3).split("<")[1].trim());
} catch (Exception e) {
minimum = 1;

0 comments on commit 2df5616

Please sign in to comment.