Execution Indicator is also sent to knocked person.
This commit is contained in:
@@ -141,6 +141,7 @@ public class PlayerExecutionHandler {
|
|||||||
attempt.timeLeft--;
|
attempt.timeLeft--;
|
||||||
|
|
||||||
NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> executor), new ExecutionProgressPacket(attempt.timeLeft));
|
NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> executor), new ExecutionProgressPacket(attempt.timeLeft));
|
||||||
|
NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> knocked), new ExecutionProgressPacket(attempt.timeLeft));
|
||||||
|
|
||||||
if (attempt.timeLeft <= 0) {
|
if (attempt.timeLeft <= 0) {
|
||||||
executeKnockedPlayer(executor, knocked);
|
executeKnockedPlayer(executor, knocked);
|
||||||
|
|||||||
Reference in New Issue
Block a user