[FIX] Фикс консоли

This commit is contained in:
Gravit 2019-04-03 20:41:56 +07:00
parent 1da05c49bd
commit 85eb2d205b
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -10,10 +10,10 @@ public class ConsoleMain {
public static CommandHandler commandHandler;
public static void main(String[] args) throws IOException {
if (ServerWrapper.config == null) {
if (ServerWrapper.wrapper.config == null) {
LogHelper.warning("ServerWrapper not found");
}
if (!ServerWrapper.permissions.canAdmin) {
if (!ServerWrapper.wrapper.permissions.canAdmin) {
LogHelper.warning("Permission canAdmin not found");
}
try {