Limitless Modpack Provides TreasureDisk and CC NPE's when attempting to mount
Paronity opened this issue ยท 0 comments
I am running a server for Limitless (Currently, 1.10.3) and the Loot Bags have a chance to give TreasureDisks (apparently).
When attempting to mount it on any disk drive, it throws a NullPointer, doesn't mount, and duplicates the disk.
[ComputerCraft-Computer-Runner-0/ERROR] [computercraft/]: Error running task on computer #1 java.lang.NullPointerException: null at dan200.computercraft.shared.media.items.ItemTreasureDisk.createDataMount(ItemTreasureDisk.java:74) ~[computercraft:1.95.3] {re:classloading} at dan200.computercraft.shared.peripheral.diskdrive.TileDiskDrive.mountDisk(TileDiskDrive.java:394) ~[computercraft:1.95.3] {re:classloading} at dan200.computercraft.shared.peripheral.diskdrive.TileDiskDrive.mount(TileDiskDrive.java:339) ~[computercraft:1.95.3] {re:classloading} at dan200.computercraft.shared.peripheral.diskdrive.DiskDrivePeripheral.attach(DiskDrivePeripheral.java:200) ~[computercraft:1.95.3] {re:classloading} at dan200.computercraft.core.apis.PeripheralAPI$PeripheralWrapper.attach(PeripheralAPI.java:77) ~[computercraft:1.95.3] {re:classloading} at dan200.computercraft.core.apis.PeripheralAPI.startup(PeripheralAPI.java:255) ~[computercraft:1.95.3] {re:classloading} at dan200.computercraft.core.computer.ComputerExecutor.turnOn(ComputerExecutor.java:430) ~[computercraft:1.95.3] {re:classloading} at dan200.computercraft.core.computer.ComputerExecutor.work(ComputerExecutor.java:576) ~[computercraft:1.95.3] {re:classloading} at dan200.computercraft.core.computer.ComputerThread$TaskRunner.run(ComputerThread.java:504) [computercraft:1.95.3] {re:classloading} at java.lang.Thread.run(Thread.java:829) [?:?] {}
Just wanted to open an issue to get the error handled gracefully. Let me know if you need anything else. Thanks!