Commit e8983845 authored by KingRainbow44's avatar KingRainbow44
Browse files

QoL changes

parent a044448a
...@@ -53,8 +53,7 @@ public class DropManager { ...@@ -53,8 +53,7 @@ public class DropManager {
Grasscutter.getLogger().error("Unable to load drop data. Drop data size is 0."); Grasscutter.getLogger().error("Unable to load drop data. Drop data size is 0.");
} }
} catch (Exception e) { } catch (Exception e) {
// TODO Auto-generated catch block Grasscutter.getLogger().error("Unable to load drop data.", e);
e.printStackTrace();
} }
} }
private void addDropEntity(DropData dd, Scene dropScene, ItemData itemData, Position pos, int num, Player target) { private void addDropEntity(DropData dd, Scene dropScene, ItemData itemData, Position pos, int num, Player target) {
......
...@@ -85,8 +85,7 @@ public class ShopManager { ...@@ -85,8 +85,7 @@ public class ShopManager {
}); });
} }
} catch (Exception e) { } catch (Exception e) {
// TODO Auto-generated catch block Grasscutter.getLogger().error("Unable to load shop data.", e);
e.printStackTrace();
} }
} }
......
package emu.grasscutter.server.dispatch; package emu.grasscutter.server.dispatch;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream;
import java.util.Arrays; 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 emu.grasscutter.Grasscutter;
import express.http.HttpContextHandler; import express.http.HttpContextHandler;
import express.http.Request; import express.http.Request;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment