Re-add another missing deprecated API, some addon still use it

This commit is contained in:
Ghost_chu committed 2021-07-14 22:48:13 +08:00
1 parent b259690c08
commit be60a34b5f
1 file changed
+3 -2
@@ -150,8 +150,9 @@ public class ShopAPI {
return new ArrayList<>(plugin.getShopManager().getShopsInWorld(world));
}
@Deprecated
public @NotNull List<Shop> getShop(@NotNull Chunk chunk) {
return getShops(chunk);
public @Nullable Map<Location, Shop> getShop(@NotNull Chunk chunk) {
return plugin.getShopManager().getShops(chunk);
}
}