Git Product home page Git Product logo

Comments (1)

AngryCarrot789 avatar AngryCarrot789 commented on June 29, 2024

I looked at the source code that the LaunchClassLoader saves to a file (when you provide the 3 flags to the server startup args) and it appears to be caused by a mod using sponge's mixin library.
A mod is injecting what looks to be something that prevents the player's recipe book being read from NBT. I guess the patches don't assume multiple returns possible from the function, so it just finds the last return statement and adds the readExtraData before it instead of adding that call before all returns?
Or maybe because the patches are run first, the mixin library just kinda breaks the patches outright

public void func_70037_a(NBTTagCompound compound) {
    super.func_70037_a(compound);
    if (compound.func_150297_b("playerGameType", 99))
        if (func_184102_h().func_104056_am()) {
            this.field_71134_c.func_73076_a(func_184102_h().func_71265_f());
        }
        else {
            this.field_71134_c.func_73076_a(GameType.func_77146_a(compound.func_74762_e("playerGameType")));
        }
    if (compound.func_150297_b("enteredNetherPosition", 10)) {
        NBTTagCompound nbttagcompound = compound.func_74775_l("enteredNetherPosition");
        this.field_193110_cw = new Vec3d(nbttagcompound.func_74769_h("x"), nbttagcompound.func_74769_h("y"), nbttagcompound.func_74769_h("z"));
    }
    this.field_192040_cp = compound.func_74767_n("seenCredits");
    callbackInfo3 = new CallbackInfo("func_70037_a", true);
    handler$zfe000$UniversalTweaks_1_12_2_1_9_0_358$utRecipeBookReadEntityFromNBT(compound, callbackInfo3);
    if (callbackInfo3.isCancelled())
        return;
    if (compound.func_150297_b("recipeBook", 10))
        this.field_192041_cq.func_192825_a(compound.func_74775_l("recipeBook"));
    getBukkitEntity().readExtraData(compound);
}

from catserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.