mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 09:59:49 -05:00
Re-add another missing deprecated API, some addon still use it
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user