Currently, all towns have hard-coded protections for animals which prevent players for right-clicking on animals inside of other kingdom towns, or friendly kingdom towns that are closed and the player is not a resident. The exceptions are for other players and villagers, which always allow right-click interaction. This approach prevents players from interacting with tamed animals like horses.
Update the entity interaction logic to always allow players to interact with tamed animals for which they are the owner, as well as players, villagers, boats, and minecarts. For all other animals, block interaction inside of non-friendly towns and closed towns where the player is not a resident.
Currently, all towns have hard-coded protections for animals which prevent players for right-clicking on animals inside of other kingdom towns, or friendly kingdom towns that are closed and the player is not a resident. The exceptions are for other players and villagers, which always allow right-click interaction. This approach prevents players from interacting with tamed animals like horses.
Update the entity interaction logic to always allow players to interact with tamed animals for which they are the owner, as well as players, villagers, boats, and minecarts. For all other animals, block interaction inside of non-friendly towns and closed towns where the player is not a resident.