Fix Registry.unregister
This commit is contained in:
@@ -84,7 +84,7 @@ public class Registry<V> {
|
|||||||
* @param entry The entry to unregister.
|
* @param entry The entry to unregister.
|
||||||
*/
|
*/
|
||||||
public void unregister(V entry) {
|
public void unregister(V entry) {
|
||||||
if (registered(entry)) {
|
if (!registered(entry)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_entries.remove(entry);
|
_entries.remove(entry);
|
||||||
|
Reference in New Issue
Block a user