Various removals of '&' for Javadoc to be happy

This commit is contained in:
KingRainbow44
2023-09-02 19:49:38 -04:00
Unverified
parent 34589d0128
commit c08ab19d84
9 changed files with 37 additions and 31 deletions
@@ -16,11 +16,12 @@ import emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest;
import emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest;
import emu.grasscutter.server.packet.send.*;
import emu.grasscutter.utils.*;
import java.util.*;
import java.util.stream.Collectors;
import lombok.*;
import org.bson.types.ObjectId;
import java.util.*;
import java.util.stream.Collectors;
@Entity(value = "quests", useDiscriminator = false)
public class GameMainQuest {
@Id private ObjectId id;
@@ -328,11 +329,11 @@ public class GameMainQuest {
}
/**
* Checks if the quest has a teleport position. Returns true if it does & adds the target position
* & rotation to the list.
* Checks if the quest has a teleport position. Returns true if it does and adds the target position
* and rotation to the list.
*
* @param subId The sub-quest ID.
* @param posAndRot A list which will contain the position & rotation if the quest has a teleport.
* @param posAndRot A list which will contain the position and rotation if the quest has a teleport.
* @return True if the quest has a teleport position. False otherwise.
*/
public boolean hasTeleportPosition(int subId, List<Position> posAndRot) {
@@ -340,7 +341,7 @@ public class GameMainQuest {
if (questTransmit == null) return false;
TeleportData.TransmitPoint transmitPoint =
questTransmit.getTransmit_points().size() > 0
!questTransmit.getTransmit_points().isEmpty()
? questTransmit.getTransmit_points().get(0)
: null;
if (transmitPoint == null) return false;