Paper
Paper copied to clipboard
Prevent NPE if hooked entity was cleared
Fixes https://github.com/PaperMC/Paper/issues/10700