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
cc50baf2
Commit
cc50baf2
authored
Aug 23, 2022
by
Benj
Committed by
Luke H-W
Aug 24, 2022
Browse files
versionFix must be >= 50 not == 50 in RegionHandler
parent
a18a15bd
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/server/http/dispatch/RegionHandler.java
View file @
cc50baf2
...
...
@@ -144,7 +144,7 @@ public final class RegionHandler implements Router {
int
versionMinor
=
Integer
.
parseInt
(
versionName
.
split
(
"."
)[
1
]);
int
versionFix
=
Integer
.
parseInt
(
versionName
.
split
(
"."
)[
2
]);
if
(
versionMajor
>=
3
||
(
versionMajor
==
2
&&
versionMinor
==
7
&&
versionFix
=
=
50
)
||
(
versionMajor
==
2
&&
versionMinor
==
8
))
{
if
(
versionMajor
>=
3
||
(
versionMajor
==
2
&&
versionMinor
==
7
&&
versionFix
>
=
50
)
||
(
versionMajor
==
2
&&
versionMinor
==
8
))
{
try
{
QueryCurrentRegionEvent
event
=
new
QueryCurrentRegionEvent
(
regionData
);
event
.
call
();
...
...
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