fixed issue with command events
This commit is contained in:
1 parent
cfc97c5703
commit
b36ccc137f
1 file changed
+1
-1
@@ -193,7 +193,7 @@ public class CarpetEventServer
|
||||
|
||||
public void removeEventCall(String hostName, String funName)
|
||||
{
|
||||
callList.removeIf((c)-> c.function.getString().equals(funName) && ( hostName == null || c.host.equalsIgnoreCase(hostName) ) );
|
||||
callList.removeIf((c)-> c.function.getString().equals(funName) && ( hostName == c.host || (c.host != null && c.host.equalsIgnoreCase(hostName) )) );
|
||||
}
|
||||
|
||||
public void removeAllCalls(String hostName)
|
||||
|
||||
Reference in new issue
Block a user