mirror of
https://github.com/EpicEricEE/ShopChest.git
synced 2024-11-23 02:55:51 +01:00
Fixed old shop updating
This commit is contained in:
parent
63a0509248
commit
7560cddb7a
@ -338,7 +338,7 @@ public class ShopUtils {
|
||||
* @param player Player to show the update
|
||||
*/
|
||||
public void updateShop(Shop shop, Player player) {
|
||||
if (shop.getLocation().getChunk().isLoaded()) return;
|
||||
if (!shop.getLocation().getChunk().isLoaded()) return;
|
||||
|
||||
double holoDistSqr = Math.pow(plugin.getShopChestConfig().maximal_distance, 2);
|
||||
double itemDistSqr = Math.pow(plugin.getShopChestConfig().maximal_item_distance, 2);
|
||||
|
Loading…
Reference in New Issue
Block a user