Slimefun / Slimefun4

Slimefun 4 - A unique Spigot/Paper plugin that looks and feels like a modpack. We've been giving you backpacks, jetpacks, reactors and much more since 2013.
GNU General Public License v3.0
973 stars 545 forks source link

Miner Androids cause block errors while mining #2443

Open NCBPFluffyBear opened 4 years ago

NCBPFluffyBear commented 4 years ago

: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)

LinoxGH commented 4 years ago

@NCBPFluffyBear when exactly does this occur?

TheBusyBiscuit commented 4 years ago

The two issues you referenced are completely different.

NCBPFluffyBear commented 4 years ago

@NCBPFluffyBear when exactly does this occur?

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

NCBPFluffyBear commented 4 years ago

The two issues you referenced are completely different.

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