You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user in the discord server reported a crash on plugin load, seemingly related to the config file.
chat-prefix: "&3&l[&bElemental&cFoods&3&l]&7: &f"unlock-recipes-on-join: trueitems:
chiyopie:
id: chiyo_piematerial: PLAYER_HEADshow-food-value: truetexture: f30ee237290dba133da01af5f88b87cce3b94bc40c5089e988852d478fa154a2color:
red: 120green: 76blue: 58display-name: '&6&lChiyos Apple Pie'lore:
- 'Better than your mums'commands: # If you have PlaceholderAPI installed, you can use PlaceholderAPI here,# otherwise the only placeholder you can use is %player% which will be replaced with the players username.# start a command with srv: to execute the command as the server (this will also ignore player permissions)
- 'srv:effect give %player% minecraft:invisibility 30 1'
- 'srv:effect give %player% minecraft:resistance 300 2'
- 'srv:effect give %player% minecraft:health_boost 120 1'# try figure out custom effects e.g gather ratefood-value: 10saturation-value: 5is-edible: trueis-edible-when-full: trueis-drink: falseis-glowing: falsesound-pitch-base: 0.85sound-pitch-range: 0.15instant-eat: falsecrafting-recipe:
is-shapeless: trueshape:
- 'AAA'
- 'SSS'
- 'DDD'materials:
A: APPLED: PASTRY_DOUGHS: SUGARpastrydough:
id: PASTRY_DOUGHmaterial: CLAY_BALLshow-food-value: truecolor:
red: 120green: 76blue: 58display-name: '&6&lPastry Dough'lore:
- 'DOH!!!'commands:
food-value: 10saturation-value: 5is-edible: falseis-edible-when-full: trueis-drink: falseis-glowing: falsesound-pitch-base: 0.85sound-pitch-range: 0.15instant-eat: falsecrafting-recipe:
is-shapeless: trueshape:
- 'WWW'
- 'TBT'materials:
B: WATER_BUCKETW: WHEATT: BUTTERbutter:
id: BUTTERmaterial: GOLD_INGOTshow-food-value: falsedisplay-name: '&6&lButter'lore:
- 'I can believe it!'food-value: 0saturation-value: 2.0is-edible: falseis-edible-when-full: trueis-drink: falseis-glowing: falsesound-pitch-base: 0.85sound-pitch-range: 0.15instant-eat: falsecrafting-recipe:
is-shapeless: trueshape:
- 'S'
- 'M'materials:
S: STICKM: MILK_BUCKETcoffee:
id: coffeematerial: potionshow-food-value: falsecolor:
red: 120green: 76blue: 58display-name: '&6&lCoffee'lore:
- 'Energetic.'commands:
- 'srv:effect give %player% minecraft:speed 300 2'food-value: 0saturation-value: 2.0is-edible: trueis-edible-when-full: trueis-drink: trueis-glowing: falsesound-pitch-base: 0.85sound-pitch-range: 0.15instant-eat: falsecrafting-recipe:
is-shapeless: falseshape:
- 'SSS'
- 'CCC'
- 'WMW'materials:
S: SUGARC: COCOA_BEANSM: MILK_BUCKETW: WATER_BUCKETheartystew:
id: hearty_stewmaterial: suspicious_stewshow-food-value: truecolor:
red: 120green: 76blue: 58display-name: '&6&lHearty Stew'lore:
- 'Contains real hearts.'commands:
- 'srv:effect give %player% minecraft:slowness 60 2'
- 'srv:effect give %player% minecraft:regeneration 300 2'
- 'srv:effect give %player% minecraft:health_boost 180 2'
- 'srv:effect give %player% minecraft:strength 180 1'food-value: 20saturation-value: 20is-edible: trueis-edible-when-full: falseis-drink: falseis-glowing: falsesound-pitch-base: 0.85sound-pitch-range: 0.15instant-eat: falsecrafting-recipe:
is-shapeless: trueshape:
materials:
W: WATER_BUCKETB: BOWLC: COOKED_CHICKENS: COOKED_BEEFT: CARROTP: POTATOM: BROWN_MUSHROOME: WHEATF: DANDELION
The first point at which the stacktrace references my source is in ElementalFoods.java at line 333 (com.elementalwoof.foods.ElementalFoods.reload), however line 333 is an empty line and I have verified this by looking at the revision history for that version.
[11:50:51 INFO]: *** issued server command: /foods reload
[11:50:51 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'foods' in plugin ElementalFoods v1.4.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.CraftServer.dispatchCommand(CraftServer.java:916) ~[paper-1.19.2.jar:git-Paper-215]
at org.bukkit.craftbukkit.v1_19_R1.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[paper-1.19.2.jar:git-Paper-215]
at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:264) ~[paper-1.19.2.jar:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:305) ~[?:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:289) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2294) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$20(ServerGamePacketListenerImpl.java:2248) ~[?:?]
at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.19.2.jar:git-Paper-215]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1341) ~[paper-1.19.2.jar:git-Paper-215]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:185) ~[paper-1.19.2.jar:git-Paper-215]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1318) ~[paper-1.19.2.jar:git-Paper-215]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1311) ~[paper-1.19.2.jar:git-Paper-215]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1289) ~[paper-1.19.2.jar:git-Paper-215]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1177) ~[paper-1.19.2.jar:git-Paper-215]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) ~[paper-1.19.2.jar:git-Paper-215]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.IllegalArgumentException: recipeKey == null
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145) ~[guava-31.0.1-jre.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.CraftServer.getRecipe(CraftServer.java:1442) ~[paper-1.19.2.jar:git-Paper-215]
at org.bukkit.Bukkit.getRecipe(Bukkit.java:1015) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at com.elementalwoof.foods.ElementalFoods.reload(ElementalFoods.java:333) ~[ElementalFoods.jar:?]
at com.elementalwoof.foods.FoodsCommand.onCommand(FoodsCommand.java:44) ~[ElementalFoods.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?]
... 23 more
I will be trying to find a solution.
The text was updated successfully, but these errors were encountered:
A user in the discord server reported a crash on plugin load, seemingly related to the config file.
The first point at which the stacktrace references my source is in ElementalFoods.java at line 333 (com.elementalwoof.foods.ElementalFoods.reload), however line 333 is an empty line and I have verified this by looking at the revision history for that version.
I will be trying to find a solution.
The text was updated successfully, but these errors were encountered: