Skip to content

Commit

Permalink
Added server IP to get_server_info(12) which gives the current server IP
Browse files Browse the repository at this point in the history
	modified:   src/main/java/com/laytonsmith/abstraction/MCServer.java
	modified:   src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCServer.java
	modified:   src/main/java/com/laytonsmith/core/functions/Minecraft.java
  • Loading branch information
janwil committed Feb 28, 2015
1 parent 316bff5 commit c8bc031
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -836,7 +836,7 @@ public Construct exec(Target t, Environment env, Construct... args) throws Cance
}

if (index < -1 || index > 12) {
throw new ConfigRuntimeException("get_server_info expects the index to be between -1 and 11 (inclusive)",
throw new ConfigRuntimeException("get_server_info expects the index to be between -1 and 12 (inclusive)",
ExceptionType.RangeException, t);
}

Expand Down

0 comments on commit c8bc031

Please sign in to comment.