Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
CrazyCore: minor performance improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Jan 4, 2013
1 parent 28b2056 commit 5b54f58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified CrazyCore/CrazyCore.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions CrazyCore/src/de/st_ddt/crazyutil/CrazyPipe.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ public static void pipe(final CommandSender sender, final Collection<? extends P
public static List<String> tabHelp(final CommandSender sender, final String[] pipeArgs)
{
final int length = pipeArgs.length;
if (length == 0)
return null;
for (int i = 0; i < length; i++)
if (pipeArgs[i].equals("|"))
return tabHelp(sender, ChatHelperExtended.shiftArray(pipeArgs, i + 1));
if (length == 0)
return null;
final CrazyPipe pipe = pipes.get(pipeArgs[0].toLowerCase());
if (pipe == null)
{
Expand Down

0 comments on commit 5b54f58

Please sign in to comment.