mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Code cleanup
This commit is contained in:
1 parent
6afe0049c5
commit
f88c31051b
13 files changed
+28
-36
No files matched your search
@@ -170,7 +170,8 @@ public class ConfigurationFile {
|
||||
return path;
|
||||
}
|
||||
|
||||
public T getValue() {
|
||||
@SuppressWarnings("unchecked")
|
||||
public T getValue() {
|
||||
return (T) value;
|
||||
}
|
||||
|
||||
@@ -180,7 +181,8 @@ public class ConfigurationFile {
|
||||
return value;
|
||||
}
|
||||
|
||||
public T getDefaultValue() {
|
||||
@SuppressWarnings("unchecked")
|
||||
public T getDefaultValue() {
|
||||
return (T) getDefaultConfigFile().get(path);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user