Minor cleanup

This commit is contained in:
GJ 2013-02-26 22:42:47 -05:00
parent ec12303834
commit 90368d4ece
2 changed files with 4 additions and 7 deletions

View File

@ -592,9 +592,7 @@ public class ItemChecks {
return true; return true;
case INK_SACK: case INK_SACK:
if (is.getData().getData() == DyeColor.BROWN.getDyeData()) { return is.getData().getData() == DyeColor.BROWN.getDyeData();
return true;
}
default: default:
return false; return false;

View File

@ -15,11 +15,10 @@ public class LogFilter implements Filter {
@Override @Override
public boolean isLoggable(LogRecord record) { public boolean isLoggable(LogRecord record) {
if(record.getMessage().contains("[Debug]") && !debug) { if (record.getMessage().contains("[Debug]") && !debug) {
return false; return false;
} }
else {
return true; return true;
}
} }
} }