File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
src/main/java/net/polarbub/botv2/server Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,6 @@ public static List<String> gitCommit(String comment) {
105105 } else if (line .equals ("nothing to commit, working tree clean" )) {
106106 retur .add ("Nothing to backup" );
107107 }
108- System .out .println (line );
109108 }
110109 p .waitFor ();
111110
@@ -141,7 +140,7 @@ public static List<String> backup(String comment) {
141140 }
142141 }
143142
144- Main .serverThread .commandUse ("say Backup Happening! " );
143+ Main .serverThread .commandUse ("say Backup Happening" );
145144 Main .serverThread .commandUse ("save-off" );
146145 Main .serverThread .commandUse ("save-all flush" );
147146
@@ -160,8 +159,6 @@ public static List<String> backup(String comment) {
160159 e .printStackTrace ();
161160 }
162161
163- Main .serverThread .commandUse ("say Backup started" );
164-
165162 List <String > retur = gitCommit (comment );
166163 for (String s : retur ) {
167164 Main .serverThread .commandUse ("say " + s );
Original file line number Diff line number Diff line change @@ -96,8 +96,6 @@ public void run() {
9696 found = true ;
9797 }
9898
99-
100-
10199 if (line .length () >= 33 ) {
102100 String trimmedLine = line .substring (33 );
103101 for (String player : players ) if (!found && trimmedLine .startsWith (player )) {
You can’t perform that action at this time.
0 commit comments