diff --git a/src/main/java/emu/grasscutter/server/packet/recv/HandlerSceneEntityDrownReq.java b/src/main/java/emu/grasscutter/server/packet/recv/HandlerSceneEntityDrownReq.java index bfeaafd9a..133c06cfc 100644 --- a/src/main/java/emu/grasscutter/server/packet/recv/HandlerSceneEntityDrownReq.java +++ b/src/main/java/emu/grasscutter/server/packet/recv/HandlerSceneEntityDrownReq.java @@ -16,7 +16,7 @@ public class HandlerSceneEntityDrownReq extends PacketHandler { GameEntity entity = session.getPlayer().getScene().getEntityById(req.getEntityId()); - if (entity == null || !(entity instanceof EntityMonster || entity instanceof EntityAvatar)) { + if (!(entity instanceof EntityMonster || entity instanceof EntityAvatar)) { return; }