add getShopBySignLocation(Location signLocation) to api
This commit is contained in:
1 parent
226aaa2ba2
commit
2a8897397c
2 files changed
+39
No files matched your search
@@ -19,6 +19,14 @@ public interface ShopHandler { // TODO finish docs
|
||||
*/
|
||||
Shop getShop(Location location);
|
||||
|
||||
/**
|
||||
* Get the shop at a given location
|
||||
*
|
||||
* @param signLocation Location of the shopSign
|
||||
* @return Shop at the given location or <b>null</b> if no shop is found there
|
||||
*/
|
||||
Shop getShopBySignLocation(Location signLocation);
|
||||
|
||||
/**
|
||||
* Checks whether there is a shop at a given location
|
||||
* @param location Location to check
|
||||
|
||||
Reference in new issue
Block a user