Change the way entity interaction works for commands to a cleaner method
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package me.libraryaddict.disguise.utilities;
|
||||
|
||||
import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
/**
|
||||
* Created by libraryaddict on 2/04/2020.
|
||||
*/
|
||||
public interface LibsEntityInteract {
|
||||
void onInteract(Player player, Entity entity);
|
||||
}
|
@@ -63,6 +63,7 @@ public enum LibsMsg {
|
||||
DMODIFY_MODIFIED(ChatColor.RED + "Your disguise has been modified!"),
|
||||
DMODIFY_NO_PERM(ChatColor.RED + "No permission to modify your disguise!"),
|
||||
DMODIFYENT_CLICK(ChatColor.RED + "Right click a disguised entity in the next %s seconds to modify their disguise!"),
|
||||
DISGUISECOPY_INTERACT(ChatColor.RED + "Right click a disguised entity in the next %s seconds to copy their disguise!"),
|
||||
DMODPLAYER_HELP1(ChatColor.DARK_GREEN + "Modify the disguise of another player!"),
|
||||
DMODPLAYER_MODIFIED(ChatColor.RED + "Modified the disguise of %s!"),
|
||||
DMODPLAYER_NODISGUISE(ChatColor.RED + "The player '%s' is not disguised"),
|
||||
|
Reference in New Issue
Block a user