From 2d461641f12bd8a221be9e1782f32acd3be8ee4d Mon Sep 17 00:00:00 2001 From: Akka <104902222+Akka0@users.noreply.github.com> Date: Fri, 17 Jun 2022 16:37:50 +0800 Subject: [PATCH] a little fix --- .../emu/grasscutter/data/ResourceLoader.java | 32 +------------------ .../emu/grasscutter/game/player/Player.java | 1 - 2 files changed, 1 insertion(+), 32 deletions(-) diff --git a/src/main/java/emu/grasscutter/data/ResourceLoader.java b/src/main/java/emu/grasscutter/data/ResourceLoader.java index 14211a2bf..45987aef1 100644 --- a/src/main/java/emu/grasscutter/data/ResourceLoader.java +++ b/src/main/java/emu/grasscutter/data/ResourceLoader.java @@ -67,37 +67,7 @@ public class ResourceLoader { // Load default home layout 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() { diff --git a/src/main/java/emu/grasscutter/game/player/Player.java b/src/main/java/emu/grasscutter/game/player/Player.java index a1a19ca29..112fbd761 100644 --- a/src/main/java/emu/grasscutter/game/player/Player.java +++ b/src/main/java/emu/grasscutter/game/player/Player.java @@ -15,7 +15,6 @@ import emu.grasscutter.game.avatar.AvatarStorage; import emu.grasscutter.game.entity.EntityMonster; import emu.grasscutter.game.entity.EntityVehicle; import emu.grasscutter.game.home.GameHome; -import emu.grasscutter.game.managers.DeforestationManager.DeforestationManager; import emu.grasscutter.game.entity.EntityGadget; import emu.grasscutter.game.entity.EntityItem; import emu.grasscutter.game.entity.GameEntity;