Skip to content

[BUG] Ice spell has no upper limit and can cause server crashes #612

Description

@server-ok

Describe the bug

we're playing on a server and my friend made a spell...
Image
...well, it certainly couldn't go well. Either an eternal winter or a server crash. It was the latter.
I looked at the code, and well, i don't think there's a limit :c

Expected behavior
Server doesn't crash. Either the spell's range is limited, or block calculations span multiple ticks to not trigger server's 60s/tick death.

Steps to reproduce
Make an ice spell and keep adding element of power. Use spell.

Screenshots
Screenshot was at the top.

Version Information:

Mod Loader:

  • Fabric
  • Quilt
  • Neoforge (with connector)

Client/Server Logs
There were no logs duing the spell, the server just silently timed out.

Metadata

Metadata

Assignees

Labels

bugfixedFixed in next release

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions