Slimefun4 icon indicating copy to clipboard operation
Slimefun4 copied to clipboard

Miner Androids cause block errors while mining

Open NCBPFluffyBear opened this issue 5 years ago • 4 comments

:round_pushpin: Description (REQUIRED)

When using Dig and Move Forward, androids sometimes create a block type disagreement. Here's an error: https://pastebin.com/iNgjXg58 Once this block is corrupt, any kind of interaction produces console errors, including right clicking, left click, and breaking the block with an android. It does not behave like a ghost block, and players can place blocks inside it perfectly fine. It does not have any BlockStorage either.

In addition, I noticed that when a block is placed in a spot right after the android moves away from it, that block is broken and a Cs CoreLib head (android) appears in the android's inventory.

In addition to that addition, this also appeared and may help diagnose the problem: https://pastebin.com/fAcF5rCz

I have grouped all these issues together because they may be caused by the same source.

This issue may be related to #2408 and #2111 .

:bookmark_tabs: Steps to reproduce the Issue (REQUIRED)

  1. Place an android
  2. Create a script that uses a combination of Move and Dig Forwards and Turn Right to create a loop that moves back and forth
  3. After some time, errors may start to appear in console
  4. Attempting to quickly place a block where the android used to be right after it moves will cause that block to be broken.

:bulb: Expected behavior (REQUIRED)

Androids should not bug out, and the tasks it performs should be executed in order.

:scroll: Server Log

https://pastebin.com/iNgjXg58

:open_file_folder: /error-reports/ Folder

https://pastebin.com/fAcF5rCz

:compass: Environment (REQUIRED)

  • Server Software (Spigot/Paper): Paper
  • Minecraft Version: 1.16.3
  • Slimefun Version: DEV 709 (git 4c47a)
  • CS-CoreLib Version: DEV 91 (git e42a0)

NCBPFluffyBear avatar Oct 11 '20 02:10 NCBPFluffyBear

@NCBPFluffyBear when exactly does this occur?

LinoxGH avatar Oct 11 '20 07:10 LinoxGH

The two issues you referenced are completely different.

TheBusyBiscuit avatar Oct 11 '20 10:10 TheBusyBiscuit

@NCBPFluffyBear when exactly does this occur?

Randomly, hard to get a video of it. Only the breaking behind bug is really testable

NCBPFluffyBear avatar Oct 11 '20 15:10 NCBPFluffyBear

The two issues you referenced are completely different.

Sorry, I just included both to be on the safe side

NCBPFluffyBear avatar Oct 11 '20 15:10 NCBPFluffyBear