MinicraftPlus / minicraft-plus-revived

Minicraft+, an extension of Notch's original minicraft project, with tons more features.
GNU General Public License v3.0
466 stars 93 forks source link

Resolve any potential NullPointerException throws caused by Entity#getClosestPlayer() #603

Closed BenCheung0422 closed 8 months ago

BenCheung0422 commented 8 months ago

Resolves #602 A NullPointerException would be thrown as there are missing null handles. This kind of potential bugs would be reduced by the time #512 is finished.

Known ways to reproduce: