13
0
geforkt von Mirrors/Paper
Datei suchen
Bukkit/Spigot 977cc8a31c Updated null checks in MetadataStoreBase. Fixes BUKKIT-1412
Previously, the method could be called with a null MetadataStore and stored.
In later execution null pointer exceptions would be generated when checking
for the plugin that the set Metadata belongs to.

Additionally, places where a plugin is referenced will now throw an
IllegalArgumentException if specified plugin is null. Using null would be an
obvious logical flaw, and in some cases produce additional exceptions later
in execution.

By: mbax <github@phozop.net>
2012-07-16 15:05:51 -04:00
paper-api Updated null checks in MetadataStoreBase. Fixes BUKKIT-1412 2012-07-16 15:05:51 -04:00