From: David ‘Bombe’ Roden Date: Fri, 5 Nov 2010 05:46:43 +0000 (+0100) Subject: Sone Inserters are indexed by Sones, not by IDs. X-Git-Tag: 0.2-RC1~36 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=f0475af7553655310d1a5076603e3288168183f8;p=Sone.git Sone Inserters are indexed by Sones, not by IDs. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index a7623b9..dc6516d 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -564,7 +564,7 @@ public class Core implements IdentityListener { return; } localSones.remove(sone.getId()); - soneInserters.remove(sone.getId()).stop(); + soneInserters.remove(sone).stop(); } identityManager.removeContext((OwnIdentity) sone.getIdentity(), "Sone"); }