Skip to content

Multiplayer, how to send cut-event even when cutFruitArea returns zero? #29

@DeckerMMIV

Description

@DeckerMMIV

In multiplayer, the server's Cutter.updateTick() will only send a CutterAreaEvent to clients, if the Utils.cutFruitArea() returned a value greater than zero.

That poses a problem, as SoilMod's plugins for cutFruitArea could return zero due to low soil pH levels or other things, but the area was still cut (removed the foliage.)

An attempt at fixing this by returning a very small volume (0.0000001), just caused other and worse problems: http://fs-uk.com/forum/index.php?topic=163694.msg1096855#msg1096855

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions