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

This commit is contained in:
Ghost_chu committed 2021-07-14 22:35:45 +08:00
1 parent 2af82e0958
commit ea704dd5d8
1 file changed
+5
@@ -149,4 +149,9 @@ public class ShopAPI {
public @NotNull List<Shop> getShopsInWorld(@NotNull World world) {
return new ArrayList<>(plugin.getShopManager().getShopsInWorld(world));
}
@Deprecated
public @NotNull List<Shop> getShop(@NotNull Chunk chunk) {
return getShops(chunk);
}
}