Skip to content

Commit

Permalink
Fix small compile issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillipp Glanz committed Oct 2, 2024
1 parent 658c3cd commit f47fd7e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package net.minestom.server.entity.fakeplayer;

import com.extollit.gaming.ai.path.HydrazinePathFinder;
import net.minestom.server.MinecraftServer;
import net.minestom.server.coordinate.Pos;
import net.minestom.server.entity.Player;
Expand Down Expand Up @@ -134,8 +133,6 @@ public void update(long time) {

@Override
public CompletableFuture<Void> setInstance(@NotNull Instance instance, @NotNull Pos spawnPosition) {
this.navigator.setPathFinder(new HydrazinePathFinder(navigator.getPathingEntity(), instance.getInstanceSpace()));

return super.setInstance(instance, spawnPosition);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public void sendArmAnimation(Player.Hand hand) {
* @param hand The hand in which an ite mshould be.
*/
public void useItem(Player.Hand hand) {
addToQueue(new ClientUseItemPacket(hand, 0));
addToQueue(new ClientUseItemPacket(hand, 0, 0f, 0f));
}

/**
Expand Down

0 comments on commit f47fd7e

Please sign in to comment.