High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies https://papermc.io/
Find a file
Bukkit/Spigot 121764ab61 Check null before grabbing metadata owning plugin. Fixes BUKKIT-4665
MetadataStoreBase throws a NullPointerException when passed a null value
for setMetaData. The intended behavior is to throw an
IllegalArgumentException. This commit changes the value's null check to
occur before referencing the owning plugin of a value.

By: AlphaBlend <whizkid3000@hotmail.com>
2013-04-04 17:00:26 -07:00
paper-api Check null before grabbing metadata owning plugin. Fixes BUKKIT-4665 2013-04-04 17:00:26 -07:00