ProtocolLib

3M Downloads

NullPointerException when creating a WrappedVillagerData

KBD2 opened this issue ยท 1 comments

commented
  • This issue is not solved in a development build

Describe the bug
Trying to create a WrappedVillagerData via WrappedVillagerData.fromValues causes a NullPointerException.

To Reproduce
Steps to reproduce the behavior:

  1. Call WrappedVillagerData.fromValues with valid arguments.
  • e.g. WrappedVillagerData.fromValues(WrappedVillagerData.Type.PLAINS, WrappedVillagerData.Profession.NONE, 1);

Expected behavior
A new instance of WrappedVillagerData is created.

Screenshots
image

Version Info
ProtocolLib Version: ProtocolLib v5.1.1-SNAPSHOT-669
Bukkit Version: 1.20.1-R0.1-SNAPSHOT
Server Version: git-Paper-181 (MC: 1.20.1)
Java Version: 20.0.1

commented

bump - same error