MineKhan icon indicating copy to clipboard operation
MineKhan copied to clipboard

Backspace bug

Open Daniel-Cher opened this issue 2 years ago • 5 comments

When ever I press backspace the game crashes. Here's a screenshot: image

Daniel-Cher avatar May 16 '22 20:05 Daniel-Cher

Could you show a video so we can see what was going on beforehand?

ImaginaryNeon avatar May 17 '22 12:05 ImaginaryNeon

Nothing special. Just hit backspace and it crashes lol. Pretty easy to reproduce.

Willard21 avatar May 17 '22 12:05 Willard21

Nothing special. Just hit backspace and it crashes lol. Pretty easy to reproduce.

I meant what menu/"state" you had to be in. I reproduced it, and it only seems to happen after loading a world.

https://user-images.githubusercontent.com/92883596/168813887-0dc22756-513c-409c-9730-def93dc1f1ab.mp4

ImaginaryNeon avatar May 17 '22 12:05 ImaginaryNeon

The pauses are me checking by backspacing.

ImaginaryNeon avatar May 17 '22 12:05 ImaginaryNeon

Fair enough. In this case I knew that the backspace key only does anything in the game scene. It's supposed to throw a block on the ground, but that was mainly a proof-of-concept feature in the first place (since there's no inventory), so I forgot to test it after making changes to the Entity class.

Willard21 avatar May 17 '22 20:05 Willard21

I commented out the "drop block" code, so it no longer crashes.

Willard21 avatar Apr 14 '23 16:04 Willard21