QoL changes

This commit is contained in:
KingRainbow44 2022-04-30 21:52:30 -04:00
parent 6fb0b5494f
commit b703a32544
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE
3 changed files with 2 additions and 8 deletions

View File

@ -53,8 +53,7 @@ public class DropManager {
Grasscutter.getLogger().error("Unable to load drop data. Drop data size is 0.");
}
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
Grasscutter.getLogger().error("Unable to load drop data.", e);
}
}
private void addDropEntity(DropData dd, Scene dropScene, ItemData itemData, Position pos, int num, Player target) {

View File

@ -85,8 +85,7 @@ public class ShopManager {
});
}
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
Grasscutter.getLogger().error("Unable to load shop data.", e);
}
}

View File

@ -1,12 +1,8 @@
package emu.grasscutter.server.dispatch;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Arrays;
import java.util.Collections;
import com.sun.net.httpserver.HttpExchange;
import com.sun.net.httpserver.HttpHandler;
import emu.grasscutter.Grasscutter;
import express.http.HttpContextHandler;
import express.http.Request;