Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-2948

Setting knockback of an arrow to 40ish causes server to crash when Ticking Player.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • custom code but any plugin that sets knockback to 40ish

      In a plugin if an arrow is modified to have more knockback than normal it will crash the game if set to a value of 40 and probably above.

      setting the knockback strength to 30 or less seems to be fine. It is unknown if 31-39 causes the issue I just tried lowering the value until it stopped crashing.

      Arrow a = (Arrow) cause;
      a.setKnockbackStrength(30);

            Unassigned Unassigned
            whoolieshop Shane Martin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: