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

Tile entity update issue when breaking waterlogged blocks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • CraftBukkit version git-Bukkit-c2dc19d
    • none
    • Yes

      I noticed when breaking a chest underwater, this ended up in console:

      [21:21:50] [Server thread/ERROR]: Block at -3,966, 58, 17,066 is Block\{minecraft:water} but has net.minecraft.server.v1_15_R1.TileEntityChest@614172d1. Bukkit will attempt to fix this, but there may be additional damage that we cannot recover.
      

      This does not seem to happen with other tile entity blocks such as furnace, barrel, spawner.

      It does happen with campfires:

      [21:27:08] [Server thread/ERROR]: Block at -3,967, 58, 17,069 is Block{minecraft:water} but has net.minecraft.server.v1_15_R1.TileEntityCampfire@3f4f44b3. Bukkit will attempt to fix this, but there may be additional damage that we cannot recover.
      

      It also happens with trapped chests. Im starting to think its an issue with water loggable tile entity blocks.
      Thru my testing I have only seen this happen on chests, trapped chests and campfires.
      *CORRECTION*:
      This has nothing do with water, when I stood on top of a smoker and set the block to anything but air, same error:

      [22:38:44] [Server thread/INFO]: ShaneBee issued server command: /setblock ~ ~-1 ~ stone
      [22:38:44] [Server thread/ERROR]: Block at -3,983, 67, 17,079 is Block{minecraft:stone} but has net.minecraft.server.v1_15_R1.TileEntitySmoker@34dabe86. Bukkit will attempt to fix this, but there may be additional damage that we cannot recover.
      [22:38:44] [Server thread/INFO]: [ShaneBee: Changed the block at -3983, 67, 17079]
      

      Doing a little more testing, I noticed this also happens if you set the block where a chest is to anything other than air, ex:

      [21:30:31] [Server thread/INFO]: ShaneBee issued server command: /setblock ~ ~ ~ minecraft:cave_air
      [21:30:31] [Server thread/ERROR]: Block at -3,976, 66, 17,085 is Block{minecraft:cave_air} but has net.minecraft.server.v1_15_R1.TileEntityChest@31992cde. Bukkit will attempt to fix this, but there may be additional damage that we cannot recover.
      [21:30:31] [Server thread/INFO]: [ShaneBee: Changed the block at -3976, 66, 17085]
      
      [21:31:13] [Server thread/INFO]: ShaneBee issued server command: /setblock ~ ~ ~ minecraft:stone
      [21:31:13] [Server thread/ERROR]: Block at -3,976, 66, 17,085 is Block{minecraft:stone} but has net.minecraft.server.v1_15_R1.TileEntityChest@43edd019. Bukkit will attempt to fix this, but there may be additional damage that we cannot recover.
      [21:31:13] [Server thread/INFO]: [ShaneBee: Changed the block at -3976, 66, 17085]
      

      setting the block to air does not throw any errors. (I really wanted to say air-ors there)

       

      Did I test this in vanilla? Yes... no errors are printed to console.

            Unassigned Unassigned
            ShaneBee Shane Bee
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: