LakeYS / blockland-render

A survival horror mod for Blockland that introduces Render, a mysterious entity that haunts the game.
MIT License
0 stars 2 forks source link

Render plays the mount sound when freezing a player #33

Closed LakeYS closed 7 years ago

LakeYS commented 7 years ago

Solution found: The vehicle/bot mount sound can be removed by packaging Armor::onMount

function Armor::onMount(%this,%player,%obj,%a,%b,%c,%d,%e,%f)
{
    if(%obj.dataBlock.getId() == RenderDeathArmor.getId())
        return;

    parent::onMount(%this,%player,%obj,%a,%b,%c,%d,%e,%f);
}

Fixed in commit https://github.com/LakeYS/blockland-render/commit/af808637e65af2eb53ecde3eb0c10e14633a7ba8 in branch "v"