From 18f9341c55a1c4661704c0e124b38a027ef9087b Mon Sep 17 00:00:00 2001 From: Felix Cravic Date: Mon, 29 Jun 2020 17:32:35 +0200 Subject: [PATCH] Add missing break statement --- src/main/java/net/minestom/server/entity/Player.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/minestom/server/entity/Player.java b/src/main/java/net/minestom/server/entity/Player.java index 1e627971c..3b59c9c1d 100644 --- a/src/main/java/net/minestom/server/entity/Player.java +++ b/src/main/java/net/minestom/server/entity/Player.java @@ -703,6 +703,7 @@ public class Player extends LivingEntity implements CommandSender { break; case SET_ACTION_BAR: titlePacket.actionBarText = text.toString(); + break; default: throw new UnsupportedOperationException("Invalid TitlePacket.Action type!"); }