mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-12 18:43:41 +08:00
Various removals of '&' for Javadoc to be happy
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user