Skip to content

Commit 2e0e6d6

Browse files
committed
fix: Ignore fake players in gold rush #20
1 parent 673da9a commit 2e0e6d6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

common/src/main/java/net/blay09/mods/littlejoys/handler/GoldRushHandler.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ public static void initialize() {
4242
return;
4343
}
4444

45+
if (Balm.getHooks().isFakePlayer(event.getPlayer())) {
46+
return;
47+
}
48+
4549
if (EnchantmentHelper.hasSilkTouch(event.getPlayer().getMainHandItem())) {
4650
return;
4751
}

0 commit comments

Comments
 (0)