File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/client/java/com/r1nge/wolves/emperor Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ def create_named_pipe():
9999 print (curr_score )
100100 current_time = time .time ()
101101
102- if float (curr_score ) >= 0.90 :
102+ if float (curr_score ) >= 0.0003 :
103103 if current_time - last_activation_time < 10 :
104104 continue
105105
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ private static void playSound() {
6666
6767 private void initializePipe () {
6868 try {
69- pipe = new RandomAccessFile ("/tmp/WolvesEmperor " , "rw" );
69+ pipe = new RandomAccessFile ("/tmp/minecraft_wolvesEmperor " , "rw" );
7070 System .out .println ("Pipe connection established" );
7171 } catch (Exception e ) {
7272 System .out .println ("Failed to initialize pipe: " + e .getMessage ());
@@ -92,7 +92,7 @@ private static boolean readFromPipe() {
9292 } catch (Exception e ) {
9393 // If there's an error, try to re-establish the connection
9494 try {
95- pipe = new RandomAccessFile ("/tmp/WolvesEmperor " , "rw" );
95+ pipe = new RandomAccessFile ("/tmp/minecraft_wolvesEmperor " , "rw" );
9696 } catch (Exception re ) {
9797 re .printStackTrace ();
9898 }
You can’t perform that action at this time.
0 commit comments