Skip to content

Turtle with Weak Automata Core returns NullPointerException (even after #640 fix) #847

Description

@Sarulean

Describe

A turtle with a Weak Automata Core returns a NullPointerException error instead of nil when trying to get its name. This likely applies to any turtle upgrade.

Steps to reproduce

  1. Place a turtle equipped with a Weak Automata Core.
  2. Open its terminal and run lua.
  3. Wrap the core a = peripheral.wrap("right")
  4. Clear any custom name: a.setName("")
  5. Read its name with a.getName()

Multiplayer?

Yes

Version

1.21.1-0.8.1a (Latest 1.21.1)

Minecraft, Forge and maybe other related mods versions

NeoForge 21.1.251 Minecraft 1.21.1

Screenshots or Videos

No response

Crashlog/log

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions