Skip to content

Commit

Permalink
Fix /ccrackrng
Browse files Browse the repository at this point in the history
  • Loading branch information
Earthcomputer committed Apr 19, 2023
1 parent eec56e2 commit 44dd8c1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/main/java/net/cortex/clientAddon/cracker/SeedCracker.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ public static void onEntityCreation(EntitySpawnS2CPacket packet) {
short value = (short) (((top_bits >> (24 - 4)) ^ 0x8L )&0xFL);//INSTEAD OF ^0x8L MAYBE DO +math.pi OR SOMETHING ELSE
SeedCracker.bits[20-SeedCracker.expectedItems]=(long)value;//could be improved
SeedCracker.expectedItems--;
} else {
//if its the last item
SeedCracker.attemptCrack();
if (SeedCracker.expectedItems == 0) {
//if its the last item
SeedCracker.attemptCrack();
}
}
}
}
Expand Down

0 comments on commit 44dd8c1

Please sign in to comment.