From 05b441b1ef4a612d23d3b3fd6d4f4d766f7e941f Mon Sep 17 00:00:00 2001 From: Tobias Burger Date: Sun, 16 Apr 2023 02:19:58 -0300 Subject: [PATCH] other band fix --- README.md | 2 +- build.gradle | 2 +- .../rudahee/metallics_arts/MetallicsArts.java | 2 +- .../enums/implementations/languages/CTW.java | 1 + .../ModLanguageProviderEN.java | 6 +++- .../ModLanguageProviderES.java | 3 +- .../ModLanguageProviderJP.java | 3 +- .../ModLanguageProviderPL.java | 3 +- .../bands/BandAluminumDuralumin.java | 4 +-- .../metal_minds/bands/BandGoldElectrum.java | 31 ++++++------------- .../metal_minds/rings/RingGoldElectrum.java | 27 ++++++---------- .../client/client_events/OnKeyInputEvent.java | 13 ++++++++ .../client_events/OnMouseInputEvent.java | 4 +-- 13 files changed, 51 insertions(+), 50 deletions(-) diff --git a/README.md b/README.md index da580120..284efa26 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Metallics Arts 1.19.2-1.5.3 +# Metallics Arts 1.19.2-1.5.4 diff --git a/build.gradle b/build.gradle index 94bf924f..0a565d82 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ plugins { group = 'net.rudahee.metallics_arts' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = 'metallics_arts' -version = '1.19.2-1.5.3' +version = '1.19.2-1.5.4' java.toolchain.languageVersion = JavaLanguageVersion.of(17) diff --git a/src/main/java/net/rudahee/metallics_arts/MetallicsArts.java b/src/main/java/net/rudahee/metallics_arts/MetallicsArts.java index d4e1ba5e..e1df4f3c 100644 --- a/src/main/java/net/rudahee/metallics_arts/MetallicsArts.java +++ b/src/main/java/net/rudahee/metallics_arts/MetallicsArts.java @@ -48,7 +48,7 @@ public class MetallicsArts { // Mod id public static final String MOD_ID = "metallics_arts"; - public static final String VERSION = "1.5.3"; + public static final String VERSION = "1.5.4"; // Directly reference a log4j logger. public static final Logger LOGGER = LogManager.getLogger(); diff --git a/src/main/java/net/rudahee/metallics_arts/data/enums/implementations/languages/CTW.java b/src/main/java/net/rudahee/metallics_arts/data/enums/implementations/languages/CTW.java index 9ecb045b..0d6fcf6b 100644 --- a/src/main/java/net/rudahee/metallics_arts/data/enums/implementations/languages/CTW.java +++ b/src/main/java/net/rudahee/metallics_arts/data/enums/implementations/languages/CTW.java @@ -57,6 +57,7 @@ public enum CTW implements ILanguage { SLOT("slot", "Slot", "Ranura","", "Slot"), VIAL ("vial","Vial","Vial","瓶", "Fiolka"), USES ("uses","Uses","Usos","", "Użycia"), + SHIFT_TO_MORE_INFO("shift_to_more_info","Press [Shift] for more Info","Presione [Shift] para más información","",""), DECORATIONS ("decorations","Decorations","Decoración","", "Dekoracje"), GUIDE ("guide","Guide","Guia","", "Poradnik"), FERUCHEMICAL_SHADING("feruchemical_shading","Shading","feruquimico sombreado","", ""), diff --git a/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderEN.java b/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderEN.java index a305177d..28321f61 100644 --- a/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderEN.java +++ b/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderEN.java @@ -26,7 +26,7 @@ public class ModLanguageProviderEN extends LanguageProvider { put("itemGroup.metallics_arts.decorations", CTW.DECORATIONS.getNameInEnglish() + " " + CTW.METALLICS_ARTS.getNameInEnglish()); put("key.category_powers_metallics_arts", CTW.POWERS.getNameInEnglish() + " " + CTW.METALLICS_ARTS.getNameInEnglish()); - put("key.categorymetallics_arts", CTW.METALLICS_ARTS.getNameInEnglish()); + put("key.category.metallics_arts", CTW.METALLICS_ARTS.getNameInEnglish()); put("key.metallics_arts.allomantic", CTW.ALLOMANTIC.getNameInEnglish() + " " + CTW.POWER_SELECTOR.getNameInEnglish() ); put("key.metallics_arts.feruchemic", CTW.FERUCHEMICAL.getNameInEnglish() + " " + CTW.POWER_SELECTOR.getNameInEnglish()); put("key.metallics_arts.allomantic_push",CTW.ALLOMANTIC.getNameInEnglish() + " " + CTW.PUSH.getNameInEnglish()); @@ -52,6 +52,10 @@ public class ModLanguageProviderEN extends LanguageProvider { put("metallics_arts.mental_mind.owner_someone", CTW.OWNER_SOMEONE.getNameInEnglish()); put("metallics_arts.mental_mind_translate.uses", CTW.USES.getNameInEnglish()); + put("metallics_arts.mental_mind_translate.shift_info",CTW.SHIFT_TO_MORE_INFO.getNameInEnglish()); + + + put("item.metallics_arts.obsidian_dagger", CTW.OBSIDIAN_DAGGER.getNameInEnglish()); put("item.metallics_arts.cristal_dagger", CTW.CRYSTAL_DAGGER.getNameInEnglish()); put("item.metallics_arts.koloss_blade", CTW.KOLOSS_BLADE.getNameInEnglish()); diff --git a/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderES.java b/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderES.java index c4ea1126..7ba6ce58 100644 --- a/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderES.java +++ b/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderES.java @@ -25,7 +25,7 @@ public class ModLanguageProviderES extends LanguageProvider { put("itemGroup.metallics_arts.decorations", CTW.METALLICS_ARTS.getNameInSpanish() + " " + CTW.DECORATIONS.getNameInSpanish()); put("key.category_powers_metallics_arts", CTW.METALLICS_ARTS.getNameInSpanish() + ": " + CTW.POWERS.getNameInSpanish()); - put("key.categorymetallics_arts", CTW.METALLICS_ARTS.getNameInSpanish()); + put("key.category.metallics_arts", CTW.METALLICS_ARTS.getNameInSpanish()); put("key.metallics_arts.allomantic", CTW.POWER_SELECTOR.getNameInSpanish() + " " + CTW.ALLOMANTIC.getNameInSpanish()); put("key.metallics_arts.feruchemic", CTW.POWER_SELECTOR.getNameInSpanish() + " " + CTW.FERUCHEMICAL.getNameInSpanish()); put("key.metallics_arts.allomantic_push", CTW.PUSH.getNameInSpanish()+ " " + CTW.ALLOMANTIC.getNameInSpanish()); @@ -50,6 +50,7 @@ public class ModLanguageProviderES extends LanguageProvider { put("metallics_arts.mental_mind.nobody", CTW.NOBODY.getNameInSpanish()); put("metallics_arts.mental_mind.owner_someone", CTW.OWNER_SOMEONE.getNameInSpanish()); put("metallics_arts.mental_mind_translate.uses", CTW.USES.getNameInSpanish()); + put("metallics_arts.mental_mind_translate.shift_info",CTW.SHIFT_TO_MORE_INFO.getNameInSpanish()); put("item.metallics_arts.obsidian_dagger", CTW.OBSIDIAN_DAGGER.getNameInSpanish()); put("item.metallics_arts.cristal_dagger", CTW.CRYSTAL_DAGGER.getNameInSpanish()); diff --git a/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderJP.java b/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderJP.java index 597f536c..d8de5b85 100644 --- a/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderJP.java +++ b/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderJP.java @@ -24,7 +24,7 @@ public class ModLanguageProviderJP extends LanguageProvider { put("itemGroup.metallics_arts.decorations", CTW.DECORATIONS.getNameInJapanese() + " " + CTW.METALLICS_ARTS.getNameInJapanese()); put("key.category_powers_metallics_arts", CTW.POWERS.getNameInJapanese() + " " + CTW.METALLICS_ARTS.getNameInJapanese()); - put("key.categorymetallics_arts", CTW.METALLICS_ARTS.getNameInJapanese()); + put("key.category.metallics_arts", CTW.METALLICS_ARTS.getNameInJapanese()); put("key.metallics_arts.allomantic", CTW.ALLOMANTIC.getNameInJapanese() + " " + CTW.POWER_SELECTOR.getNameInJapanese() ); put("key.metallics_arts.feruchemic", CTW.FERUCHEMICAL.getNameInJapanese() + " " + CTW.POWER_SELECTOR.getNameInJapanese()); put("key.metallics_arts.allomantic_push",CTW.ALLOMANTIC.getNameInJapanese() + " " + CTW.PUSH.getNameInJapanese()); @@ -49,6 +49,7 @@ public class ModLanguageProviderJP extends LanguageProvider { put("metallics_arts.mental_mind.nobody", CTW.NOBODY.getNameInJapanese()); put("metallics_arts.mental_mind.owner_someone", CTW.OWNER_SOMEONE.getNameInJapanese()); put("metallics_arts.mental_mind_translate.uses", CTW.USES.getNameInJapanese()); + put("metallics_arts.mental_mind_translate.shift_info",CTW.SHIFT_TO_MORE_INFO.getNameInJapanese()); put("item.metallics_arts.obsidian_dagger", CTW.OBSIDIAN_DAGGER.getNameInJapanese()); put("item.metallics_arts.cristal_dagger", CTW.CRYSTAL_DAGGER.getNameInJapanese()); diff --git a/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderPL.java b/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderPL.java index 425b202c..f9f8bb5c 100644 --- a/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderPL.java +++ b/src/main/java/net/rudahee/metallics_arts/data/providers/language_providers/ModLanguageProviderPL.java @@ -25,7 +25,7 @@ public class ModLanguageProviderPL extends LanguageProvider { put("itemGroup.metallics_arts.decorations", CTW.METALLICS_ARTS.getNameInPolish() + " " + CTW.DECORATIONS.getNameInPolish()); put("key.category_powers_metallics_arts", CTW.METALLICS_ARTS.getNameInPolish() + ": " + CTW.POWERS.getNameInPolish()); - put("key.categorymetallics_arts", CTW.METALLICS_ARTS.getNameInPolish()); + put("key.category.metallics_arts", CTW.METALLICS_ARTS.getNameInPolish()); put("key.metallics_arts.allomantic", CTW.POWER_SELECTOR.getNameInPolish() + " " + CTW.ALLOMANTIC.getNameInPolish()); put("key.metallics_arts.feruchemic", CTW.POWER_SELECTOR.getNameInPolish() + " " + CTW.FERUCHEMICAL.getNameInPolish()); put("key.metallics_arts.allomantic_push", CTW.PUSH.getNameInPolish()+ " " + CTW.ALLOMANTIC.getNameInPolish()); @@ -50,6 +50,7 @@ public class ModLanguageProviderPL extends LanguageProvider { put("metallics_arts.mental_mind.nobody", CTW.NOBODY.getNameInPolish()); put("metallics_arts.mental_mind.owner_someone", CTW.OWNER_SOMEONE.getNameInPolish()); put("metallics_arts.mental_mind_translate.uses", CTW.USES.getNameInPolish()); + put("metallics_arts.mental_mind_translate.shift_info",CTW.SHIFT_TO_MORE_INFO.getNameInPolish()); put("item.metallics_arts.obsidian_dagger", CTW.OBSIDIAN_DAGGER.getNameInPolish()); put("item.metallics_arts.cristal_dagger", CTW.CRYSTAL_DAGGER.getNameInPolish()); diff --git a/src/main/java/net/rudahee/metallics_arts/modules/custom_items/metal_minds/bands/BandAluminumDuralumin.java b/src/main/java/net/rudahee/metallics_arts/modules/custom_items/metal_minds/bands/BandAluminumDuralumin.java index 0651e200..7891a7bc 100644 --- a/src/main/java/net/rudahee/metallics_arts/modules/custom_items/metal_minds/bands/BandAluminumDuralumin.java +++ b/src/main/java/net/rudahee/metallics_arts/modules/custom_items/metal_minds/bands/BandAluminumDuralumin.java @@ -78,7 +78,7 @@ public void curioTick(SlotContext slotContext, ItemStack stack) { String metalKey = this.getMetals(0).getNameLower() + "_feruchemic_reserve"; int actualReserve = stack.getTag().getInt(metalKey); - int maxReserve = this.getMetals(0).getMaxReserveRing(); + int maxReserve = this.getMetals(0).getMaxReserveBand(); /* DECANT @@ -108,7 +108,7 @@ public void curioTick(SlotContext slotContext, ItemStack stack) { metalKey = this.getMetals(1).getNameLower() + "_feruchemic_reserve"; actualReserve = stack.getTag().getInt(metalKey); - maxReserve = this.getMetals(1).getMaxReserveRing(); + maxReserve = this.getMetals(1).getMaxReserveBand(); /* DECANT */ diff --git a/src/main/java/net/rudahee/metallics_arts/modules/custom_items/metal_minds/bands/BandGoldElectrum.java b/src/main/java/net/rudahee/metallics_arts/modules/custom_items/metal_minds/bands/BandGoldElectrum.java index ffb1d712..1254a5f1 100644 --- a/src/main/java/net/rudahee/metallics_arts/modules/custom_items/metal_minds/bands/BandGoldElectrum.java +++ b/src/main/java/net/rudahee/metallics_arts/modules/custom_items/metal_minds/bands/BandGoldElectrum.java @@ -72,21 +72,13 @@ public void curioTick(SlotContext slotContext, ItemStack stack) { ex.printCompleteLog(); return; } - if (!playerCapability.isTapping(MetalTagEnum.ELECTRUM) && !playerCapability.isStoring(MetalTagEnum.ELECTRUM)) { - ElectrumFecuchemicHelper.restoreHearts(player, playerCapability); - } - if (playerCapability.isTapping(MetalTagEnum.ALUMINUM) || playerCapability.isStoring(MetalTagEnum.ALUMINUM)) { stack.setTag(MetalMindsUtils.changeOwner(player, nbtLocal, false, this.getMetals(0), this.getMetals(1))); } - - String metalKey = this.getMetals(0).getNameLower() + "_feruchemic_reserve"; int actualReserve = stack.getTag().getInt(metalKey); - int maxReserve = this.getMetals(0).getMaxReserveRing(); - /** - DECANT - */ + int maxReserve = this.getMetals(0).getMaxReserveBand(); + // Tap. if (playerCapability.isTapping(this.getMetals(0))) { if (actualReserve > 0) { stack.setTag(getFirstSupplier().calculateDischarge(nbtLocal, player, playerCapability, actualReserve, metalKey, nicConsumeMet0)); @@ -97,9 +89,7 @@ public void curioTick(SlotContext slotContext, ItemStack stack) { stack.setTag(MetalMindsUtils.changeOwner(player, nbtLocal, false, this.getMetals(0), this.getMetals(1))); playerCapability.setTapping(this.getMetals(0), false); } - /** - STORAGE - */ + // Storage. } else if (playerCapability.isStoring(this.getMetals(0))) { if (actualReserve < maxReserve) { stack.setTag(MetalMindsUtils.changeOwner(player, nbtLocal, true, this.getMetals(0), this.getMetals(1))); @@ -113,10 +103,8 @@ public void curioTick(SlotContext slotContext, ItemStack stack) { } metalKey = this.getMetals(1).getNameLower() + "_feruchemic_reserve"; actualReserve = stack.getTag().getInt(metalKey); - maxReserve = this.getMetals(1).getMaxReserveRing(); - /** - DECANT - */ + maxReserve = this.getMetals(1).getMaxReserveBand(); + // Tap. if (playerCapability.isTapping(this.getMetals(1))) { if (actualReserve > 0) { stack.setTag(getSecondSupplier().calculateDischarge(nbtLocal, player, playerCapability, actualReserve, metalKey, nicConsumeMet1)); @@ -127,10 +115,10 @@ public void curioTick(SlotContext slotContext, ItemStack stack) { stack.setTag(MetalMindsUtils.changeOwner(player, nbtLocal, false, this.getMetals(0), this.getMetals(1))); playerCapability.setTapping(this.getMetals(1), false); } - playerCapability.setModifiedHealth(true); - /** - STORAGE - */ + if (!playerCapability.hasModifiedHealth()) { + playerCapability.setModifiedHealth(true); + } + // Storage. } else if (playerCapability.isStoring(this.getMetals(1))) { if (actualReserve < maxReserve) { stack.setTag(MetalMindsUtils.changeOwner(player, nbtLocal, true, this.getMetals(0), this.getMetals(1))); @@ -172,7 +160,6 @@ public void onUnequip(SlotContext slotContext, ItemStack newStack, ItemStack sta IInvestedPlayerData playerCapability; try { playerCapability = CapabilityUtils.getCapability(player); - super.onUnequip(slotContext, newStack, stack); } catch (PlayerException ex) { ex.printCompleteLog(); diff --git a/src/main/java/net/rudahee/metallics_arts/modules/custom_items/metal_minds/rings/RingGoldElectrum.java b/src/main/java/net/rudahee/metallics_arts/modules/custom_items/metal_minds/rings/RingGoldElectrum.java index 0e0fb38d..133f165b 100644 --- a/src/main/java/net/rudahee/metallics_arts/modules/custom_items/metal_minds/rings/RingGoldElectrum.java +++ b/src/main/java/net/rudahee/metallics_arts/modules/custom_items/metal_minds/rings/RingGoldElectrum.java @@ -70,20 +70,13 @@ public void curioTick(SlotContext slotContext, ItemStack stack) { return; } - if (!playerCapability.isTapping(MetalTagEnum.ELECTRUM) && !playerCapability.isStoring(MetalTagEnum.ELECTRUM)) { - ElectrumFecuchemicHelper.restoreHearts(player, playerCapability); - } - if (playerCapability.isTapping(MetalTagEnum.ALUMINUM) || playerCapability.isStoring(MetalTagEnum.ALUMINUM)) { stack.setTag(MetalMindsUtils.changeOwner(player, nbtLocal, false, this.getMetals(0), this.getMetals(1))); } - String metalKey = this.getMetals(0).getNameLower() + "_feruchemic_reserve"; int actualReserve = stack.getTag().getInt(metalKey); int maxReserve = this.getMetals(0).getMaxReserveRing(); - /** - DECANT - */ + // Tap. if (playerCapability.isTapping(this.getMetals(0))) { if (actualReserve > 0) { stack.setTag(getFirstSupplier().calculateDischarge(nbtLocal, player, playerCapability, actualReserve, metalKey, nicConsumeMet0)); @@ -94,9 +87,7 @@ public void curioTick(SlotContext slotContext, ItemStack stack) { stack.setTag(MetalMindsUtils.changeOwner(player, nbtLocal, false, this.getMetals(0), this.getMetals(1))); playerCapability.setTapping(this.getMetals(0), false); } - /** - STORAGE - */ + // Storage. } else if (playerCapability.isStoring(this.getMetals(0))) { if (actualReserve < maxReserve) { stack.setTag(MetalMindsUtils.changeOwner(player, nbtLocal, true, this.getMetals(0), this.getMetals(1))); @@ -111,9 +102,7 @@ public void curioTick(SlotContext slotContext, ItemStack stack) { metalKey = this.getMetals(1).getNameLower() + "_feruchemic_reserve"; actualReserve = stack.getTag().getInt(metalKey); maxReserve = this.getMetals(1).getMaxReserveRing(); - /** - DECANT - */ + // Tap. if (playerCapability.isTapping(this.getMetals(1))) { if (actualReserve > 0) { stack.setTag(getSecondSupplier().calculateDischarge(nbtLocal, player, playerCapability, actualReserve, metalKey, nicConsumeMet1)); @@ -124,9 +113,10 @@ public void curioTick(SlotContext slotContext, ItemStack stack) { stack.setTag(MetalMindsUtils.changeOwner(player, nbtLocal, false, this.getMetals(0), this.getMetals(1))); playerCapability.setTapping(this.getMetals(1), false); } - /** - STORAGE - */ + if (!playerCapability.hasModifiedHealth()) { + playerCapability.setModifiedHealth(true); + } + // Storage. } else if (playerCapability.isStoring(this.getMetals(1))) { if (actualReserve < maxReserve) { stack.setTag(MetalMindsUtils.changeOwner(player, nbtLocal, true, this.getMetals(0), this.getMetals(1))); @@ -137,6 +127,9 @@ public void curioTick(SlotContext slotContext, ItemStack stack) { } else { playerCapability.setStoring(this.getMetals(1), false); } + if (!playerCapability.hasModifiedHealth()) { + playerCapability.setModifiedHealth(true); + } } else if (playerCapability.hasModifiedHealth()) { ElectrumFecuchemicHelper.restoreHearts(player, playerCapability); } diff --git a/src/main/java/net/rudahee/metallics_arts/modules/logic/client/client_events/OnKeyInputEvent.java b/src/main/java/net/rudahee/metallics_arts/modules/logic/client/client_events/OnKeyInputEvent.java index 2b16e8b2..64fdf5f3 100644 --- a/src/main/java/net/rudahee/metallics_arts/modules/logic/client/client_events/OnKeyInputEvent.java +++ b/src/main/java/net/rudahee/metallics_arts/modules/logic/client/client_events/OnKeyInputEvent.java @@ -5,12 +5,14 @@ import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; import net.minecraftforge.client.event.InputEvent; +import net.rudahee.metallics_arts.data.enums.implementations.MetalTagEnum; import net.rudahee.metallics_arts.data.player.IInvestedPlayerData; import net.rudahee.metallics_arts.modules.error_handling.exceptions.PlayerException; import net.rudahee.metallics_arts.modules.error_handling.messages.ErrorTypes; import net.rudahee.metallics_arts.modules.logic.client.custom_guis.selectors.AllomanticSelector; import net.rudahee.metallics_arts.modules.logic.client.custom_guis.selectors.FeruchemySelector; import net.rudahee.metallics_arts.setup.registries.ModKeyRegister; +import net.rudahee.metallics_arts.utils.powers_utils.ClientUtils; import org.lwjgl.glfw.GLFW; import javax.annotation.Nullable; @@ -70,6 +72,17 @@ public static void onKeyInputEvent(InputEvent.Key event, Minecraft minecraft, @N minecraft.setScreen(new FeruchemySelector()); } } + for (int i = 0; i< MetalTagEnum.values().length; i++) { + if (ModKeyRegister.powers[i].isDown()) { + if (ModKeyRegister.FERUCHEMIC_DECANT.isDown()) { + ClientUtils.toggleTap(MetalTagEnum.getMetal(i), capability, player); + } else if (ModKeyRegister.FERUCHEMIC_STORAGE.isDown()) { + ClientUtils.toggleStorage(MetalTagEnum.getMetal(i), capability, player); + } else { + ClientUtils.toggleBurn(MetalTagEnum.getMetal(i), capability); + } + } + } } } diff --git a/src/main/java/net/rudahee/metallics_arts/modules/logic/client/client_events/OnMouseInputEvent.java b/src/main/java/net/rudahee/metallics_arts/modules/logic/client/client_events/OnMouseInputEvent.java index 03d4e045..4368f089 100644 --- a/src/main/java/net/rudahee/metallics_arts/modules/logic/client/client_events/OnMouseInputEvent.java +++ b/src/main/java/net/rudahee/metallics_arts/modules/logic/client/client_events/OnMouseInputEvent.java @@ -54,7 +54,7 @@ public static void OnMouseInputEvent(Player player,IInvestedPlayerData capabilit throw new PlayerException(ErrorTypes.PLAYER_CAPABILITY_ERROR); } - + /* for (int i = 0; i< MetalTagEnum.values().length; i++) { if (ModKeyRegister.powers[i].isDown()) { if (ModKeyRegister.FERUCHEMIC_DECANT.isDown()) { @@ -65,6 +65,6 @@ public static void OnMouseInputEvent(Player player,IInvestedPlayerData capabilit ClientUtils.toggleBurn(MetalTagEnum.getMetal(i), capability); } } - } + }*/ } }