Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
e8983845
Commit
e8983845
authored
Apr 30, 2022
by
KingRainbow44
Browse files
QoL changes
parent
a044448a
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/game/drop/DropManager.java
View file @
e8983845
...
@@ -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
)
{
...
...
src/main/java/emu/grasscutter/game/shop/ShopManager.java
View file @
e8983845
...
@@ -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
();
}
}
}
}
...
...
src/main/java/emu/grasscutter/server/dispatch/DispatchHttpJsonHandler.java
View file @
e8983845
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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment