IntelligenceModding / AdvancedPeripherals

Advanced Peripherals adds many new features to the computercraft modification
https://advancedperipherals.netlify.app/
Apache License 2.0
93 stars 67 forks source link

Peripheral throws NullPointerException when invoking getName method #640

Open wolfieboy09 opened 1 week ago

wolfieboy09 commented 1 week ago

Describe

image

Steps to reproduce

In a computer, do

ed = peripheral.wrap("THE SIDE ITS ON, DOES NOT MATTER")
ed.getName() -- fails

Multiplayer?

No - Global thing with getName

Version

1.20.1-0.7.40r (Latest 1.20.1)

Minecraft, Forge and maybe other related mods versions

Forge 47.3.5 Minecraft 1.20.1

Screenshots or Videos

No response

Crashlog/log

No response

wolfieboy09 commented 1 week ago

image So how about it just returns its default name?

SirEndii commented 1 week ago

So how about it just returns its default name?

Well, that's the bug

zyxkad commented 1 week ago

reopen until released