Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6117

Summoning the Air Item throw an Error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • git-Spigot-b5a13e6-3f57283 (MC: 1.16.2)
    • Yes

      Summoning the Air item throw an error and put Unable to summon entity in the chat.

      Video (Chat Message)
      Vanilla (1.16.2): https://youtu.be/-R67ztIa2ss
      Spigot (1.16.2): https://youtu.be/erdn5ggITVU

      Command: /summon minecraft:item ~ ~ ~

      [09:06:35] [Server thread/INFO]: guerryer issued server command: /summon minecraft:item ~ ~ ~
      [09:06:35] [Server thread/WARN]: Exception loading entity: 
      net.minecraft.server.v1_16_R2.ReportedException: Loading entity NBT
              at net.minecraft.server.v1_16_R2.Entity.load(Entity.java:1663) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.EntityTypes.lambda$108(EntityTypes.java:321) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.SystemUtils.a(SourceFile:402) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.EntityTypes.a(EntityTypes.java:318) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.EntityTypes.b(EntityTypes.java:366) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.EntityTypes.a(EntityTypes.java:347) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.CommandSummon.a(SourceFile:65) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.CommandSummon.b(SourceFile:45) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:262) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:176) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.CommandDispatcher.a(CommandDispatcher.java:182) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at org.bukkit.craftbukkit.v1_16_R2.command.VanillaCommandWrapper.execute(VanillaCommandWrapper.java:45) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at org.bukkit.craftbukkit.v1_16_R2.CraftServer.dispatchCommand(CraftServer.java:756) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.PlayerConnection.handleCommand(PlayerConnection.java:1697) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.PlayerConnection.a(PlayerConnection.java:1540) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.TickTask.run(SourceFile:18) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeTask(SourceFile:144) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeNext(SourceFile:118) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.MinecraftServer.ba(MinecraftServer.java:941) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.MinecraftServer.executeNext(MinecraftServer.java:934) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.awaitTasks(SourceFile:127) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.MinecraftServer.sleepForTick(MinecraftServer.java:918) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:850) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at java.lang.Thread.run(Thread.java:834) [?:?]
      Caused by: java.lang.IllegalArgumentException: Cannot drop air
              at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.EntityItem.setItemStack(EntityItem.java:418) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.EntityItem.loadData(EntityItem.java:321) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              at net.minecraft.server.v1_16_R2.Entity.load(Entity.java:1607) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-3f57283]
              ... 29 more
      
      

            Unassigned Unassigned
            guerryer guerryer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: