Skip to content

Commit

Permalink
Fix npc being constructed with options the wrong way around
Browse files Browse the repository at this point in the history
  • Loading branch information
derklaro committed Dec 6, 2021
1 parent 09bf51b commit ae7b59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/github/juliarn/npc/NPC.java
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,8 @@ public NPC build(@NotNull NPCPool pool) {
this.location,
this.spawnCustomizer,
pool.getFreeEntityId(),
this.imitatePlayer,
this.lookAtPlayer,
this.imitatePlayer,
this.usePlayerProfiles);
pool.takeCareOf(npc);

Expand Down

0 comments on commit ae7b59a

Please sign in to comment.