mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 09:39:40 -05:00
Lagg warning when set too small check ticks
Former-commit-id: e46e88d81bb476e6b6d3a9ac8b990e54b0d2df66 [formerly cac45d7cb242bd80663339d25a587e2d0c627924] Former-commit-id: a5c504bc577f7fd7fceddd6064f362f440820186
This commit is contained in:
1 parent
bdfb1e1e24
commit
da060548fb
1 file changed
+3
@@ -269,6 +269,9 @@ public class QuickShop extends JavaPlugin {
|
||||
if (getConfig().getInt("shop.find-distance") > 100) {
|
||||
getLogger().severe("Shop.find-distance is too high! It may cause lag! Pick a number under 100!");
|
||||
}
|
||||
if (getConfig().getInt("shop.display-items-check-ticks") < 3000) {
|
||||
getLogger().severe("Shop.display-items-check-ticks is too low! It may cause lag! Pick a number > 3000");
|
||||
}
|
||||
/* Load all shops. */
|
||||
shopLoader = new ShopLoader(this);
|
||||
shopLoader.loadShops();
|
||||
|
||||
Reference in new issue
Block a user