CC: Tweaked

CC: Tweaked

59M Downloads

`disk` event is emitted on startup

Ale32bit opened this issue ยท 2 comments

commented

Minecraft Version

1.20.x

Version

1.109.3

Details

The event disk is emitted on startup if an attached disk drive contains a disk, despite not interacting with it at all.

To reproduce attach a disk drive to a computer and insert a disk, then restart the computer.

The following startup.lua file waits for the disk event to be emitted, which normally happens when you insert something in the drive, but unfortunately it immediately happens at every start.

print(os.pullEvent("disk"))
print("os.clock() =", os.clock())
print("disk event was fired")
commented

Can you update to 1.109.5 and try again? This should have been fixed in f695f22.

commented

Yeah it's fixed, now to convince the server admins to update. Thanks