Skip to content
Success

Changes

Summary

  1. fix: logging is not necessary even if ServerPlayer.mobCounts field is not found (#3162) (commit: 5e85b8a) (details)
Commit 5e85b8a03554e14f8185e6904a7e2b8ee06a4c37 by noreply
fix: logging is not necessary even if ServerPlayer.mobCounts field is not found (#3162)

* fix: logging is not necessary even if ServerPlayer.mobCounts field is not found

That field is Paper-specific thing, so it would not exist on Spigot, which will cause confusing error message.

* chore: add comment on Player.mobCounts MH fields
(commit: 5e85b8a)
The file was modifiedv1_16_R3/src/main/java/net/citizensnpcs/nms/v1_16_R3/util/NMSImpl.java
The file was modifiedv1_18_R2/src/main/java/net/citizensnpcs/nms/v1_18_R2/util/NMSImpl.java
The file was modifiedv1_19_R3/src/main/java/net/citizensnpcs/nms/v1_19_R3/util/NMSImpl.java
The file was modifiedv1_20_R4/src/main/java/net/citizensnpcs/nms/v1_20_R4/util/NMSImpl.java
The file was modifiedv1_21_R1/src/main/java/net/citizensnpcs/nms/v1_21_R1/util/NMSImpl.java
The file was modifiedv1_17_R1/src/main/java/net/citizensnpcs/nms/v1_17_R1/util/NMSImpl.java