minor fixes

This commit is contained in:
Jonathan Shook
2022-07-26 01:15:11 -05:00
parent bc63a28426
commit 21ca1d1b2f
3 changed files with 2 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ public class ResultCode implements ErrorHandler, NBMapConfigurable {
@Override
public void applyConfig(Map<String, ?> providedConfig) {
this.code = Byte.valueOf(providedConfig.get("code").toString());
this.code = Byte.parseByte(providedConfig.get("code").toString());
}
@Override