Skip to content

Commit

Permalink
fix show minion call selection send to wrong dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheaterpaul committed Jul 13, 2023
1 parent 709b7a4 commit 2fa81e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static void handle(final @NotNull ServerboundSimpleInputEvent msg, @NotNull Supp
}
break;
case SHOW_MINION_CALL_SELECTION:
ClientboundRequestMinionSelectPacket.createRequestForPlayer(player, ClientboundRequestMinionSelectPacket.Action.CALL).ifPresent(VampirismMod.dispatcher::sendToServer);
ClientboundRequestMinionSelectPacket.createRequestForPlayer(player, ClientboundRequestMinionSelectPacket.Action.CALL).ifPresent(x -> VampirismMod.dispatcher.sendTo(x, player));
break;
case VAMPIRISM_MENU:
factionPlayerOpt.ifPresent(fPlayer -> fPlayer.getTaskManager().openVampirismMenu());
Expand Down

0 comments on commit 2fa81e6

Please sign in to comment.