Skip to content

Commit ab35f14

Browse files
committed
Fix Linux
1 parent 91ab0e8 commit ab35f14

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/client/java/com/r1nge/wolves/emperor/WolvesEmperorModClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)