Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 147
    • Issues 147
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #719

Closed
Open
Created Feb 22, 2022 by xlsalvolx@xlsalvolx

Item spray effect doesn't work if the "item-despawn-rate" option in spigot.yml is lowered to 5800

Summary

If the default value for the "item-despawn-rate" option in spigot.yml (default 6000) is set at 5800 ticks the item spray effect will stop working (items despawn istantly)

Steps to reproduce

  1. Open your spigot.yml file
  2. Set the "item-despawn-rate" to 5800
  3. That will be enough to make it stop working. If you, for example, set the value to 5805 the items will despawn after 5 ticks, if you set it to 5810 the items will despawn after 10 ticks, etc.

Current behavior

Currently, the bug is forcing me to set the "item-despawn-rate" to 6000 ticks (5 in-game minutes), rendering the item spray effect impossible to use for me since i have a big server and i have the necessity to set the "item-despawn-rate" value to 2400 to prevent lag.

Intended correct behavior

testsword:
  Id: diamond_sword
  Display: "&3&lTest &b&lsword"
  Lore:
  - "I can't spray :("
  Skills:
  - effect:itemspray{item=stone;a=20;v=1;d=30;y=1} @self ~onTimer:20

This item should spray items for any "item-despawn-rate" value.

Server log file

https://pastebin.com/Hm69RhKC

Debug log snippet

https://pastebin.com/Dh3pWVFb

Proposed fixes

Set the default tick age for the items sprayed to a lower value.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking