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
2d461641
Commit
2d461641
authored
Jun 17, 2022
by
Akka
Committed by
Melledy
Jun 17, 2022
Browse files
a little fix
parent
247412b1
Changes
2
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/data/ResourceLoader.java
View file @
2d461641
...
@@ -67,37 +67,7 @@ public class ResourceLoader {
...
@@ -67,37 +67,7 @@ public class ResourceLoader {
// Load default home layout
// Load default home layout
loadHomeworldDefaultSaveData
();
loadHomeworldDefaultSaveData
();
// Custom - TODO move this somewhere else
try
{
GameData
.
getAvatarSkillDepotDataMap
().
get
(
504
).
setAbilities
(
new
AbilityEmbryoEntry
(
""
,
new
String
[]
{
"Avatar_PlayerBoy_ExtraAttack_Wind"
,
"Avatar_Player_UziExplode_Mix"
,
"Avatar_Player_UziExplode"
,
"Avatar_Player_UziExplode_Strike_01"
,
"Avatar_Player_UziExplode_Strike_02"
,
"Avatar_Player_WindBreathe"
,
"Avatar_Player_WindBreathe_CameraController"
}
));
GameData
.
getAvatarSkillDepotDataMap
().
get
(
704
).
setAbilities
(
new
AbilityEmbryoEntry
(
""
,
new
String
[]
{
"Avatar_PlayerGirl_ExtraAttack_Wind"
,
"Avatar_Player_UziExplode_Mix"
,
"Avatar_Player_UziExplode"
,
"Avatar_Player_UziExplode_Strike_01"
,
"Avatar_Player_UziExplode_Strike_02"
,
"Avatar_Player_WindBreathe"
,
"Avatar_Player_WindBreathe_CameraController"
}
));
}
catch
(
Exception
e
)
{
Grasscutter
.
getLogger
().
error
(
"Error loading abilities"
,
e
);
}
}
}
public
static
void
loadResources
()
{
public
static
void
loadResources
()
{
...
...
src/main/java/emu/grasscutter/game/player/Player.java
View file @
2d461641
...
@@ -15,7 +15,6 @@ import emu.grasscutter.game.avatar.AvatarStorage;
...
@@ -15,7 +15,6 @@ import emu.grasscutter.game.avatar.AvatarStorage;
import
emu.grasscutter.game.entity.EntityMonster
;
import
emu.grasscutter.game.entity.EntityMonster
;
import
emu.grasscutter.game.entity.EntityVehicle
;
import
emu.grasscutter.game.entity.EntityVehicle
;
import
emu.grasscutter.game.home.GameHome
;
import
emu.grasscutter.game.home.GameHome
;
import
emu.grasscutter.game.managers.DeforestationManager.DeforestationManager
;
import
emu.grasscutter.game.entity.EntityGadget
;
import
emu.grasscutter.game.entity.EntityGadget
;
import
emu.grasscutter.game.entity.EntityItem
;
import
emu.grasscutter.game.entity.EntityItem
;
import
emu.grasscutter.game.entity.GameEntity
;
import
emu.grasscutter.game.entity.GameEntity
;
...
...
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