Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPC Rejoin Disappearance #177

Open
ItchyDitchy opened this issue Jan 22, 2022 · 0 comments
Open

NPC Rejoin Disappearance #177

ItchyDitchy opened this issue Jan 22, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ItchyDitchy
Copy link

Describe the bug
Create an NPC -> Rejoin -> It disappears (I also execute NPC#show(Player player) on player join)

NPCLib usage option
2

NPCLib JAR name
npclib-plugin-2.12.1-SNAPSHOT.jar

Server version
Paper version git-Paper-794 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)

To Reproduce
On Join:

npc.show(event.getPlayer().asPlayer());

For Creation:

NPC npc = ItchyDitchyPlugin.getNPCLibrary().createNPC();
npc.setSkin(skin);
npc.setLocation(location);
npc.setText(new ArrayList<String>(Arrays.asList(robotName)));
npc.setItem(NPCSlot.HELMET, helmet);
npc.setItem(NPCSlot.CHESTPLATE, chestplate);
npc.setItem(NPCSlot.LEGGINGS, leggings);
npc.setItem(NPCSlot.BOOTS, boots);

Create NPC -> Leave -> Join -> It does not show anymore.

Expected behavior
The NPC shows.

Screenshots
n/a

Additional context
n/a

@ItchyDitchy ItchyDitchy added the bug Something isn't working label Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant