13
0
geforkt von Mirrors/Paper

Fixed another nullcheck in pluginmanager

By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2010-12-29 00:10:22 +00:00
Ursprung d98a5eadfe
Commit 331ba1b6a2

Datei anzeigen

@ -194,7 +194,7 @@ public final class SimplePluginManager implements PluginManager {
List<RegisteredListener> eventListeners = listeners.get(type);
int position = 0;
if (listeners != null) {
if (eventListeners != null) {
for (RegisteredListener registration : eventListeners) {
if (registration.getPriority().compareTo(priority) < 0) {
break;