AdvancedPeripherals icon indicating copy to clipboard operation
AdvancedPeripherals copied to clipboard

Peripheral throws NullPointerException when invoking getName method

Open wolfieboy09 opened this issue 1 year ago • 2 comments

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 avatar Jul 06 '24 22:07 wolfieboy09

image So how about it just returns its default name?

wolfieboy09 avatar Jul 06 '24 22:07 wolfieboy09

So how about it just returns its default name?

Well, that's the bug

SirEndii avatar Jul 06 '24 22:07 SirEndii

reopen until released

zyxkad avatar Jul 07 '24 22:07 zyxkad