mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-07 03:02:11 +01:00
Remove debugging output
This commit is contained in:
parent
7962962a40
commit
b22c954e58
@ -94,7 +94,7 @@ public class CharPrefixTree<N extends CharNode<N>, L extends CharLookupEntry<N>>
|
||||
|
||||
/**
|
||||
* Quick and dirty addition: Test if a prefix is contained which either matches the whole input or does not end inside of a word in the input, i.e. the inputs next character is a space.
|
||||
* @param lcMessage
|
||||
* @param input
|
||||
* @return
|
||||
*/
|
||||
public boolean hasPrefixWords(final String input) {
|
||||
@ -103,7 +103,6 @@ public class CharPrefixTree<N extends CharNode<N>, L extends CharLookupEntry<N>>
|
||||
if (!result.hasPrefix) return false;
|
||||
if (input.length() == result.depth) return true;
|
||||
if (Character.isWhitespace(input.charAt(result.depth))) return true;
|
||||
System.out.println(input + " -> " + result.depth + ":" + input.charAt(result.depth));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user