1
0
forked from xjboss/KCauldronX
KCauldronX/patches/org/bukkit/command/defaults/BanIpCommand.java.patch
2015-04-24 15:40:52 +03:00

12 lines
475 B
Diff

--- ../src-base/minecraft/org/bukkit/command/defaults/BanIpCommand.java
+++ ../src-work/minecraft/org/bukkit/command/defaults/BanIpCommand.java
@@ -32,7 +32,7 @@
return false;
}
- String reason = args.length > 0 ? StringUtils.join(args, ' ', 1, args.length) : null;
+ String reason = StringUtils.join(args, ' ', 1, args.length);
if (ipValidity.matcher(args[0]).matches()) {
processIPBan(args[0], sender, reason);