Skip to content

Commit

Permalink
Comment out some debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
bensku committed Nov 1, 2016
1 parent a7caf2f commit 07a56ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/java/ch/njol/skript/events/EvtClick.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ public class EvtClick extends SkriptEvent {

@Override
public boolean init(final Literal<?>[] args, final int matchedPattern, final ParseResult parser) {
Skript.info("matchedPattern is " + matchedPattern);
Skript.info("args is " + Arrays.toString(args));
//Skript.info("matchedPattern is " + matchedPattern); // TODO there is something wrong here...
//Skript.info("args is " + Arrays.toString(args));
click = parser.mark == 0 ? ANY : parser.mark;
types = args[matchedPattern];
if (types != null && !ItemType.class.isAssignableFrom(types.getReturnType())) {
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/ch/njol/skript/lang/SkriptParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ private final <T extends SyntaxElement> T parse(final Iterator<? extends SyntaxE
if (!expr.init())
continue patternsLoop;
res.exprs[j] = expr;
Skript.info("" + expr);
}
}
x = x2;
Expand Down Expand Up @@ -1110,7 +1109,6 @@ private final ParseResult parse_i(final String pattern, int i, int j) {
continue;
log2.clear();
final Expression<?> e = new SkriptParser(pi, "" + expr.substring(i, i2), flags & vi.flagMask, context).parseExpression(vi.classes[k].getC());
Skript.info("e is " + e);
if (e != null) {
if (!vi.isPlural[k] && !e.isSingle()) {
if (context == ParseContext.COMMAND) {
Expand All @@ -1136,7 +1134,6 @@ private final ParseResult parse_i(final String pattern, int i, int j) {
log2.printLog();
log.printLog();
res.exprs[countUnescaped(pattern, '%', 0, j) / 2] = e;
Skript.info("exprs is " + Arrays.toString(res.exprs));
return res;
}
}
Expand Down

0 comments on commit 07a56ba

Please sign in to comment.