Skip to content

Commit ae7b59a

Browse files
committed
Fix npc being constructed with options the wrong way around
1 parent 09bf51b commit ae7b59a

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/github/juliarn/npc

1 file changed

+1
-1
lines changed

src/main/java/com/github/juliarn/npc/NPC.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,8 @@ public NPC build(@NotNull NPCPool pool) {
509509
this.location,
510510
this.spawnCustomizer,
511511
pool.getFreeEntityId(),
512-
this.imitatePlayer,
513512
this.lookAtPlayer,
513+
this.imitatePlayer,
514514
this.usePlayerProfiles);
515515
pool.takeCareOf(npc);
516516

0 commit comments

Comments
 (0)