Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

inOwnPlot returns true when not in factions #77

Open
buchwasa opened this issue Jul 23, 2019 · 1 comment
Open

inOwnPlot returns true when not in factions #77

buchwasa opened this issue Jul 23, 2019 · 1 comment

Comments

@buchwasa
Copy link

When making a plugin that needed FactionsPro support, I found that using inOwnPlot provided some unexpected results, whenever I was in outside of a factions, it returned true, but when I created a faction, it would return false.

The workaround I used is isInFaction and inOwnPlot together

@Awzaw
Copy link
Contributor

Awzaw commented Aug 2, 2019

Thanks for pointing that out - the plugin itself checks that the player is in a faction before ever calling inOwnPlot, but when called externally you'd have to do it yourself. Fixed in next update.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants