Breno A.
d4ce7aac08
refactor: fix nullable params
2024-06-09 10:26:58 -03:00
Breno A.
3b68645330
refactor: number comparison
2024-06-09 10:09:59 -03:00
Breno A.
db280387ba
chore: fix codestyle indentation
2024-06-09 10:06:57 -03:00
Breno A.
809009f96c
refactor: null check is not necessary, we have instanceof
2024-06-09 10:02:56 -03:00
Breno A.
45bf5edb13
perf: stream api can be simplified here
2024-06-09 10:01:03 -03:00
Breno A.
3d00abcc91
perf: we can just equalsIgnoreCase
2024-06-09 10:00:07 -03:00
Breno A.
85ca8777c9
perf: remove redundant collection operation
2024-06-09 09:59:16 -03:00
Breno A.
8f8a6a7bfe
perf: simplify optional chain
2024-06-09 09:58:25 -03:00
Breno A.
f01da54eaa
perf: size cannot be negative
2024-06-09 09:57:41 -03:00
Breno A.
4b03304cdc
perf: this is just Math.min
2024-06-09 09:56:58 -03:00
Breno A.
dd9f59fbfc
refactor(lombok): add Setter where possible
2024-06-09 09:55:51 -03:00
Breno A.
8f4120fcd3
refactor(lombok): add Getter where possible
2024-06-09 09:52:49 -03:00
Breno A.
7ee644c794
perf: add Serial annotation here
2024-06-09 09:46:29 -03:00
Breno A.
aeadf6bba7
perf: equals "" can be isEmpty here
2024-06-09 09:45:05 -03:00
Breno A.
1e2ccc9fc6
perf: we can chain append here
2024-06-09 09:44:23 -03:00
Breno A.
1424405c64
perf: fix redundant addAll
2024-06-09 09:43:31 -03:00
Breno A.
33d5c5238a
perf: findAny().isPresent()
is cleaner here
2024-06-09 09:42:43 -03:00
Breno A.
b7735295f1
perf: count > 0
can be anyMatch
2024-06-09 09:42:06 -03:00
Breno A.
e4123f47d6
perf: class initializer may be static
2024-06-09 09:39:46 -03:00
Breno A.
4f1ad7b576
perf: Call to 'asList()' with only one argument
2024-06-09 09:39:21 -03:00
Breno A.
6e3b3b20a0
refactor: implicit cast from double to float may be lossy
2024-06-09 09:38:33 -03:00
Breno A.
d5ad077ce1
fix: integer division in floating point
2024-06-09 09:37:06 -03:00
Breno A.
6e7418a89d
refactor: replace concatenation log with parameterized
2024-06-09 09:35:38 -03:00
Breno A.
77e246213f
refactor: fix javadoc issues
2024-06-09 09:33:59 -03:00
Breno A.
c9b42a6dfb
refactor: replace switch with enhanced switch
2024-06-09 09:25:14 -03:00
Breno A.
7db8b6f0c7
refactor: Integer.ParseInt is more appropriate here
2024-06-09 09:20:19 -03:00
Breno A.
6d669bd47a
refactor: Integer.ParseInt is more appropriate here
2024-06-09 09:19:41 -03:00
Breno A.
bb82e21c82
refactor: replace for loop with enhanced loop
2024-06-09 09:18:48 -03:00
Breno A.
b5d0afd0fe
refactor: we don't need explicit types here
2024-06-09 09:17:05 -03:00
Breno A.
fcd409320d
refactor: replace statement with expression lambda
2024-06-09 09:15:22 -03:00
Breno A.
c7119aae68
refactor: simplify map operations
...
we can use computeIfAbsent here
2024-06-09 09:13:18 -03:00
Breno A.
3119e0fffc
refactor: replace lambda with method reference
2024-06-09 09:11:58 -03:00
Breno A.
870085fc91
refactor: replace lambda with method reference
2024-06-09 09:10:48 -03:00
Breno A.
8c35c89bf5
refactor: replace Collections.sort with list.sort
...
Collections.sort is just a wrapper, so it is better to use an instance method directly.
2024-06-09 09:09:45 -03:00
Breno A.
9c946e9d2e
chore: remove unused import
2024-06-09 09:07:54 -03:00
Breno A.
427a1cf5f5
fix: variable is assigned to itself
2024-06-09 09:06:12 -03:00
Breno A.
0161b4d73d
refactor: replace protected with private for final class
2024-06-09 09:04:26 -03:00
Breno A.
ca6ddfd2cc
refactor: replace protected with private for final class
2024-06-09 09:03:50 -03:00
Breno A.
7d3abb083b
refactor: this can also be final
2024-06-09 09:00:39 -03:00
Breno A.
9fa0f2bcad
refactor: unwrap redundant code block
2024-06-09 08:58:01 -03:00
Breno A.
029ef823e1
refactor: remove unnecessary semicolons
2024-06-09 08:56:58 -03:00
Breno A.
c3eafba072
refactor: remove unnecessary toString call
2024-06-09 08:55:58 -03:00
Breno A.
ef58ab3e5a
refactor: replace size() == 0
with isEmpty()
2024-06-09 08:54:37 -03:00
Breno A.
da61d30f44
refactor: make getGoodsLimit one liner
2024-06-09 08:50:40 -03:00
Breno A.
6bb349d92b
fix: make those fields final
2024-06-09 08:47:56 -03:00
Ign1s_Reiga
76fd5b2e9c
Update README_ja-JP.md ( #2516 )
2024-06-05 21:14:11 -04:00
KittenPixel
4022267888
Configuration Update - Shown Email ( #2509 )
...
* This version will allow the private server owner to show a different email then "@grasscutter.io" if they want.
* Update src/main/java/emu/grasscutter/config/ConfigContainer.java
Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
* Update src/main/java/emu/grasscutter/game/Account.java
Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
* Update src/main/java/emu/grasscutter/game/Account.java
Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
---------
Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
2024-05-13 21:58:46 -04:00
Magix
f1f5b54939
(fix:docker) Fix uploading to container registry
2024-03-16 23:09:40 -07:00
Jordan Jones
f871f261e1
Add Docker Support ( #2486 )
...
* chore(docker): add build workflow
* chore(docker): update gradle image
* chore(docker): this really shouldnt be running on raspberry pi's right now.
* chore(docker): not sure why we need unzip here
* chore(docker): attempt to add nodejs to allow the handbook to build
* chore(docker): whoops, needs to be done during build
* chore(docker): i dont know if this is going to work
* chore(docker): replace my username with repo org as I am no longer testing this
* chore(docker): version will change in the future, so fix it now.
2024-03-17 01:57:39 -04:00
Gaobaiawa
eeaccf32c4
add some client download link and fix readme ( #2475 )
...
* Update README.md
* Update README_zh-CN.md
* Update README_hn-IN.md
2024-03-17 01:14:10 -04:00