+1
-1
src/main/java/uk/co/notnull/proxyqueues/queues/ProxyQueueImpl.java
+1
-1
src/main/java/uk/co/notnull/proxyqueues/queues/ProxyQueueImpl.java
···
561
561
}
562
562
563
563
public boolean hasPause(Object plugin) {
564
-
Optional<PluginContainer> container = this.proxyQueues.getProxyServer().getPluginManager().fromInstance(plugin);
564
+
Optional<PluginContainer> container = this.proxyQueues.getProxyServer().getPluginManager().fromInstance(plugin);
565
565
566
566
if(container.isEmpty()) {
567
567
throw new IllegalArgumentException("plugin is not registered");