summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/permissions/PermissionRemovedExecutor.java
blob: 7dc091254b108f7eae34f1d66dbfe43173fc480f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

package org.bukkit.permissions;

/**
 * Represents a class which is to be notified when a {@link PermissionAttachment} is removed from a {@link Permissible}
 */
public interface PermissionRemovedExecutor {
    /**
     * Called when a {@link PermissionAttachment} is removed from a {@link Permissible}
     *
     * @param attachment Attachment which was removed
     */
    public void attachmentRemoved(PermissionAttachment attachment);
}