Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #49

Closed
Open
Created Aug 27, 2020 by Damien0503@Damien0503

Error with MM Items / Mob Drops

Summary

It seems that there is a bug concerning MythicMobs Items (so impacting custom mob drops). Every things that are concerning items is simply not working.

Steps to reproduce

I personaly used my items files which were working in 1.15 version and did /mm items give .

But I think you can simply create an item (even basic) and try to make a mob dropping it or trying to get it from MythicMobs give command.

Current behavior

In game, I got the message "An internal error occured while attempting to perform this command" and I get in console :

[13:50:28] [Server thread/INFO]: Damien0503 issued server command: /mm items give Damien0503 AgriBoots [13:50:28] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'mm' in plugin MythicMobs v4.10.0-SNAPSHOT-SNAPSHOT at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.16.2.jar:git-Paper-141] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.16.2.jar:git-Paper-141] at org.bukkit.craftbukkit.v1_16_R2.CraftServer.dispatchCommand(CraftServer.java:800) ~[patched_1.16.2.jar:git-Paper-141] at net.minecraft.server.v1_16_R2.PlayerConnection.handleCommand(PlayerConnection.java:1907) ~[patched_1.16.2.jar:git-Paper-141] at net.minecraft.server.v1_16_R2.PlayerConnection.a(PlayerConnection.java:1718) ~[patched_1.16.2.jar:git-Paper-141] at net.minecraft.server.v1_16_R2.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[patched_1.16.2.jar:git-Paper-141] at net.minecraft.server.v1_16_R2.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.16.2.jar:git-Paper-141] at net.minecraft.server.v1_16_R2.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[patched_1.16.2.jar:git-Paper-141] at net.minecraft.server.v1_16_R2.TickTask.run(SourceFile:18) ~[patched_1.16.2.jar:git-Paper-141] at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.2.jar:git-Paper-141] at net.minecraft.server.v1_16_R2.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.2.jar:git-Paper-141] at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.2.jar:git-Paper-141] at net.minecraft.server.v1_16_R2.MinecraftServer.ba(MinecraftServer.java:1135) ~[patched_1.16.2.jar:git-Paper-141] at net.minecraft.server.v1_16_R2.MinecraftServer.executeNext(MinecraftServer.java:1128) ~[patched_1.16.2.jar:git-Paper-141] at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeAll(IAsyncTaskHandler.java:95) ~[patched_1.16.2.jar:git-Paper-141] at net.minecraft.server.v1_16_R2.MinecraftServer.a(MinecraftServer.java:1264) ~[patched_1.16.2.jar:git-Paper-141] at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:999) ~[patched_1.16.2.jar:git-Paper-141] at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.2.jar:git-Paper-141] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265] Caused by: java.lang.NullPointerException at io.lumine.xikage.mythicmobs.items.MythicItem.generateItemStack(MythicItem.java:439) ~[?:?] at io.lumine.xikage.mythicmobs.commands.items.GiveCommand.onCommand(GiveCommand.java:86) ~[?:?] at io.lumine.xikage.mythicmobs.utils.commands.Command.onCommand(Command.java:64) ~[?:?] at io.lumine.xikage.mythicmobs.utils.commands.Command.onCommand(Command.java:55) ~[?:?] at io.lumine.xikage.mythicmobs.utils.commands.Command.onCommand(Command.java:55) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.2.jar:git-Paper-141] ... 18 more

And if I try to kill a mob, nothing it dropped.

Intended correct behavior

Uh... items should be gave / dropped ? :D

Server log file

https://pastebin.com/KebCrfYF

Proposed fixes

I think I am not able to do this...

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking