Skip to content

Add null check during PvP item iterator#29

Open
dxnnv wants to merge 1 commit intoStrafbefehl:devfrom
dxnnv:patch-1
Open

Add null check during PvP item iterator#29
dxnnv wants to merge 1 commit intoStrafbefehl:devfrom
dxnnv:patch-1

Conversation

@dxnnv
Copy link

@dxnnv dxnnv commented Feb 8, 2025

[02:55:58 WARN]: [DeluxeHubReloaded] Task #24077 for DeluxeHubReloaded v3.6.12 generated an exception java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because "is" is null at DeluxeHubReloaded-3.6.12.jar/fun.lewisdev.deluxehub.module.modules.player.PvPMode$1.run(PvPMode.java:187) ~[DeluxeHubReloaded-3.6.12.jar:?]
Prevents the exception from being thrown, when PvPItemTypes are removed from config (for example, removing the "OTHER" items, etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant