diff --git a/src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java b/src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java index 6a1dd7e7d19700611ca3a19a31f77fa4c29766a9..921ecd83d74c83ffddaec9ebe8e386e77a821e80 100644 --- a/src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java +++ b/src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java @@ -164,7 +164,8 @@ public class PduPlayer { //Add the "]" to the end of sa[0]. It was taken off by the split sa[0] = sa[0].concat("]"); //Add the "]" to the end of sa[0]. It was taken off by the split - sa[1] = "[".concat(sa[1]); + if (sa.length > 1) + sa[1] = "[".concat(sa[1]); break;