jaredlll08 / ModTweaker

ModTweaker is an addon for CraftTweaker, which provides Integration for an amount of mods.
MIT License
68 stars 63 forks source link

Calling /ct ticmat throw error when Laser Gun disabled #752

Closed Krutoy242 closed 4 years ago

Krutoy242 commented 4 years ago

What happens:

I disabled Laser Gun in PlusTic (7.1.6.1) config plustic.cfg

    # Enable Laser Gun [default: true]
    B:"Enable Laser Gun"=false

Calling command /ct ticmat now throw an error. I using Enigmatica 2 expert modpack (with additional mods), and can't replicate this error on fresh client with only CT+Plustic installed

Error

> /ct ticmat
[21:05:28] [Server thread/INFO] [minecraft/DedicatedServer]: An unknown error occurred while attempting to perform this command
[21:05:28] [Server thread/WARN] [minecraft/CommandHandler]: Couldn't process command: ct ticmat
java.lang.NoClassDefFoundError: net/minecraft/client/resources/I18n
        at landmaster.plustic.tools.stats.BatteryCellMaterialStats.getLocalizedInfo(BatteryCellMaterialStats.java:26) ~[BatteryCellMaterialStats.class:?]
        at com.blamejared.compat.tconstruct.TConstruct$1.executeCommand(TConstruct.java:29) ~[TConstruct$1.class:?]
        at crafttweaker.mc1120.commands.CTChatCommand.func_184881_a(CTChatCommand.java:75) ~[CTChatCommand.class:?]
        at com.feed_the_beast.ftbutilities.ranks.CommandOverride.func_184881_a(CommandOverride.java:83) ~[CommandOverride.class:?]
        at net.minecraft.command.CommandHandler.func_175786_a(CommandHandler.java:119) [bj.class:?]
        at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:91) [bj.class:?]
        [...]

Affected Versions:

Your most recent log file where the issue was present:

latest.log

jaredlll08 commented 4 years ago

not my issue, complain to plustic