mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
Minor cleanup
This commit is contained in:
parent
ec12303834
commit
90368d4ece
@ -592,9 +592,7 @@ public class ItemChecks {
|
||||
return true;
|
||||
|
||||
case INK_SACK:
|
||||
if (is.getData().getData() == DyeColor.BROWN.getDyeData()) {
|
||||
return true;
|
||||
}
|
||||
return is.getData().getData() == DyeColor.BROWN.getDyeData();
|
||||
|
||||
default:
|
||||
return false;
|
||||
|
@ -15,11 +15,10 @@ public class LogFilter implements Filter {
|
||||
|
||||
@Override
|
||||
public boolean isLoggable(LogRecord record) {
|
||||
if(record.getMessage().contains("[Debug]") && !debug) {
|
||||
if (record.getMessage().contains("[Debug]") && !debug) {
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
return true;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user