diff --git a/serverlogic/src/main/java/com/ljsd/jieling/handler/map/MapLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/handler/map/MapLogic.java index 899fa07f4..81a73f602 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/handler/map/MapLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/handler/map/MapLogic.java @@ -480,6 +480,8 @@ public class MapLogic { } if (flags.size() > 0 && flags.size() >= rand) { nextEventId = jumpTypeValues[0][0]; + } else { + nextEventId = jumpTypeValues[0][1]; } } else { Set flags = new HashSet<>(); @@ -497,6 +499,8 @@ public class MapLogic { } if (flags.size() > 0) { nextEventId = jumpTypeValues[0][0]; + } else { + nextEventId = jumpTypeValues[0][1]; } } break; @@ -511,6 +515,8 @@ public class MapLogic { boolean b = ItemUtil.checkCost(user, itemMap); if (b) { nextEventId = jumpTypeValues[0][0]; + } else { + nextEventId = jumpTypeValues[0][1]; } break; }