promotional bannermobile promotional banner

Pvp practice Bot

a pvp practice bot plugin for pvp practice servers
Back to Files

PVPPracticeBot-1.2-fixed.ja

File namePVPPracticeBot-1.2-fixed.jar
Uploader
FlammexFlammex
Uploaded
Jul 28, 2026
Downloads
201
Size
23.3 KB
File ID
8526398
Type
R
Release
Supported game versions
  • 26.1.2
  • 26.1.1
  • 26.1
  • 1.21.11
  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5
  • 1.21.4
  • 1.21.3
  • 1.21.2
  • 1.21.1
  • 1.21
  • 1.20.3-Snapshot
  • 1.20.6
  • 1.20.5
  • 1.20.4
  • 1.20.3
  • 1.20.2
  • 1.20.1
  • 1.20

What's new

PVPPracticeBot v1.2 – Bugfix Changelog


🐛 Bug Fixes

/pvpbot spawn crashing silently

  • PVPBot.setAttributes() called zombie.getAttribute(...) with no null check. On Paper 1.21+, attribute lookups inside the World.spawn() consumer can return null before the entity is fully initialised, causing an NPE that swallowed the whole spawn. All four attributes (MAX_HEALTHMOVEMENT_SPEEDATTACK_DAMAGEKNOCKBACK_RESISTANCE) are now null-checked.

Immortality toggle crashing

  • PVPBot.setImmortal() had the exact same null-deref pattern on MAX_HEALTH and KNOCKBACK_RESISTANCE. Fixed with the same null-safe setAttribute() helper.

Combat AI NPE after bot is spawned

  • executeEasyAI() and executeMediumAI() called entity.getTarget().damage(...) without checking if getTarget() returned null. If a target player logged off or died between ticks, this threw an NPE mid-combat. Both now guard with if (t != null) before dealing damage.

This mod has no related projects