alex9849 / advanced-region-market

A Bukkit/Spigot plugin for renting/selling WorldGuard regions
https://www.spigotmc.org/resources/advancedregionmarket.58732/
69 stars 44 forks source link

Fix possible NullPointerException #44

Closed JeromeWolff closed 4 years ago

JeromeWolff commented 4 years ago

Logical error: It is checked whether the item has a certain static name. But before that it is not checked, that the item has an ItemMeta and a display name. This can lead to a NullPointerException.

Linked issue: #33

alex9849 commented 4 years ago

Thanks for the code :)