Update to new ban method.

See https://essentials3.atlassian.net/browse/ESS-2690 for refence.