Wireless Crafting Terminal

Wireless Crafting Terminal

48M Downloads

Crash when activating Magnet Card (in Creative WCT)

brisingraerowing opened this issue ยท 5 comments

commented

Crash Log

I tried activating the magnet card by clicking the button in the WCT GUI, and that happened.

WCT: 3.9.59

commented

I've tried in SSP, SMP with old infinity mechanic enabled and disabled and cannot reproduce

commented

I'll mess around with it and see what I can find.

commented

Doesn't getTagCompound return null when there is no NBT on the item? The item I have doesn't have a tag (as noted in the tooltip). Since you don't check it for null, there is potential for this to happen.

commented

this is a good point..dammit..I already pushed the update..so the magnet gets initialized at different possible points, but not on creation..if you view the settings GUI (either by crouch+right-click or the button above the slot in WCT) it will be initialized with the NBT data..the update that is pushed will not crash , but it also doesn't initialize it at the point where it catches the null..I'll make a new issue to remind me to just initialize the magnet rather than just ignoring the null at that point in code.

commented

can u hop on discord briefly?