divios / DailyShop

Spigot plugin. Fully configurable shop with daily offers. NBT & multi-currency support and more!
https://www.spigotmc.org/resources/daily-shop-free-random-items-shop-customizable-items-timer-nbt-support-and-more.86907/
29 stars 15 forks source link

when player join to server eror Amount must be greater than 0 #28

Closed l3unnyAnoF4 closed 3 years ago

l3unnyAnoF4 commented 3 years ago
[20:12:52 WARN]: java.lang.IllegalArgumentException: Amount must be greater than 0
[20:12:52 WARN]:        at DailyShop-3.5.1 (1).jar//io.github.divios.dailyShop.shaded.Core_lib.itemutils.ItemUtils.give(ItemUtils.java:585)
[20:12:52 WARN]:        at DailyShop-3.5.1 (1).jar//io.github.divios.dailyShop.guis.abstractConfirmGui$cacheEntry.restore(abstractConfirmGui.java:295)
[20:12:52 WARN]:        at DailyShop-3.5.1 (1).jar//io.github.divios.dailyShop.guis.abstractConfirmGui.lambda$static$2(abstractConfirmGui.java:94)
[20:12:52 WARN]:        at DailyShop-3.5.1 (1).jar//io.github.divios.dailyShop.shaded.Core_lib.utils.Delegates$ConsumerToBiConsumerSecond.accept(Delegates.java:120)
[20:12:52 WARN]:        at DailyShop-3.5.1 (1).jar//io.github.divios.dailyShop.shaded.Core_lib.event.functional.single.HelperEventListener.execute(HelperEventListener.java:134)
[20:12:52 WARN]:        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[20:12:52 WARN]:        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[20:12:52 WARN]:        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:633)
[20:12:52 WARN]:        at net.minecraft.server.players.PlayerList.postChunkLoadJoin(PlayerList.java:360)
[20:12:52 WARN]:        at net.minecraft.server.players.PlayerList.lambda$placeNewPlayer$1(PlayerList.java:302)
[20:12:52 WARN]:        at net.minecraft.server.network.PlayerConnection.tick(PlayerConnection.java:308)
[20:12:52 WARN]:        at net.minecraft.network.NetworkManager.a(NetworkManager.java:555)
[20:12:52 WARN]:        at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:201)
[20:12:52 WARN]:        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1706)
[20:12:52 WARN]:        at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:501)
[20:12:52 WARN]:        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1524)
[20:12:52 WARN]:        at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1301)
[20:12:52 WARN]:        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[20:12:52 WARN]:        at java.base/java.lang.Thread.run(Thread.java:831)
l3unnyAnoF4 commented 3 years ago

image

divios commented 3 years ago

Oh you are right, I know where that error comes, I’ll fix it ASAP

divios commented 3 years ago

Fixed on the new update