Closed hugeblank closed 3 years ago
does this work for both putting the disk in, and getting the disk out? also does it work with music discs?
does this work for both putting the disk in, and getting the disk out?
It does not work for getting disks out, is something that CC:T does? If I could get confirmation on that then I'll get to working on that.
also does it work with music discs?
Ooh, yeah I missed that. Will fix once I get clarification on the first concern above.
Just tested myself, music discs dont work for it at all, and shift-right clicking does not eject
This meaning that this commit is good for a merge? Or do you think it would be a good idea to add support for music discs?
It is good to merge after some testing on my end of course
There is no need for mixins to allow disks to be injected into disk drives. See how I did it in https://github.com/Jummit/cc-restitched/commit/6f70ebeb6ca93612ab2a85c0710af3bf1f149658 Although I i think they are necessary to make it work with music discs.
There is no need for mixins to allow disks to be injected into disk drives. See how I did it in Jummit@6f70ebe Although I i think they are necessary to make it work with music discs.
You're right, there was definitely a smarter approach than this but it accidentally worked out since for parity music discs need to be inserted like floppy disks anyways, as you mention. I'd rather keep it as one mixin than a mixin and a method in another class, for ease of reading.
Don't forget to allow inserting portable computers.
Don't forget to allow inserting portable computers.
good catch! I'll add this soon™️
Inject Special case into
ServerPlayerInteractionManager
that handles disks being sneak + right clicked onto disk drives.Fixes #12