Paintball v1.5.2

Details

  • Filename
    Paintball-1.5.2.jar
  • Uploaded by
  • Uploaded
    Aug 9, 2020
  • Size
    454.50 KB
  • Downloads
    186
  • MD5
    f38f58ae7db1fb1eb29bfc9afc61fd62

Supported Bukkit Versions

  • 1.16
  • 1.15
  • 1.14

Changelog

v1.5.2 for MC 1.16.1, 1.15, 1.14.2+

 

  • No changes. The previous version was uploaded with the wrong version number internally. This update should fix the update notifications

v1.5.1 for MC 1.16.1, 1.15, 1.14.2+

 

  • Updated for 1.16.1.
  • Fixed: We ignore LEFT_CLICK_AIR interactions now. Since MC 1.15 we receive interact events with action LEFT_CLICK_AIR under various new situations, not just when the player actually left clicks, but also whenever the player interacts with something or performs some action such as dropping an item.
    We previously reacted to these interaction events and triggered actions such as launching paintballs. This has lead to the situation that a single right click actually launched two paintballs, and other actions such as dropping an item also launched a paintball.
    Since we cannot easily differentiate between the various actions that lead to this LEFT_CLICK_AIR interaction event and a regular left click, we ignore all left clicks now. I.e. it is no longer possible to shoot paintballs with left click.
    The sniper previously used the left click action to toggle between the zooming and non-zooming state. This has been changed and is toggled by sneaking now.

  • Fixed: Paintball hits were no longer getting detected. Since MC 1.16 the ProjectileHitEvent is called before the EntityDamageByEntityEvent. We previously used the ProjectileHitEvent to trigger cleanup of the paintball object. Since the paintball object got cleaned up before handling the entity damage event for the corresponding snowball hit, the snowball from the entity damage event got no longer associated with a corresponding paintball and no hit got detected.
    The ProjectileHitEvent provides the hit entity now (this has not been the case originally). We can therefore handle the paintball hit as part of the projectile hit event handler now and thereby avoid this issue.

  • Fixed: Since MC 1.16 the movement speed inside the lobby and game is increased. Since MC 1.16 the walk speed is determined by both the player's walk speed value and the movement speed attribute.
    Our code for resetting the attributes to their default values is flawed (there is currently no API to retrieve the player-specific default attribute values). This results in the players having an increased walking speed. To resolve this for now, we always explicitly reset the walk speed. This will then also automatically update the movement speed attribute accordingly.

  • Fixed: Splash potions can be thrown now. However, the conversion from legacy damage values to potion types might be broken now, so the shop can likely not be used to give players these potions.

  • Changed: We load all plugin classes up front now. This helps with plugin reloads when the plugin jar got replaced.

Donations

If you like this plugin, consider making a donation.