This repository was archived by the owner on May 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/com/shaybox/rusher/modules Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ minecraft_version=1.20.4
7
7
parchment_version =2024.04.14
8
8
9
9
# Plugin Properties
10
- plugin_version =0.6.0
10
+ plugin_version =0.6.1
11
11
maven_group =com.shaybox.rusher
12
12
archives_base_name =shays-rusher-plugin
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public class KillEffects extends ToggleableModule {
24
24
/* Minecraft */
25
25
private final Minecraft minecraft = Minecraft .getInstance ();
26
26
27
- /* RusherHackAPI Managers & Settings */
27
+ /* RusherHackAPI & Settings */
28
28
private final BooleanSetting self = new BooleanSetting ("Self" , "Only when you kill" , false );
29
29
30
30
/* Previous State */
@@ -45,7 +45,7 @@ private void onPacket(EventPacket.Receive event) {
45
45
assert this .minecraft .level != null ;
46
46
47
47
DamageSource source = damagePacket .getSource (this .minecraft .level );
48
- if (!source .is (DamageTypes .PLAYER_ATTACK )) return ;
48
+ if (!source .is (DamageTypes .PLAYER_ATTACK ) && ! source . is ( DamageTypes . PLAYER_EXPLOSION ) ) return ;
49
49
50
50
Entity entity = this .minecraft .level .getEntity (damagePacket .entityId ());
51
51
if (entity instanceof Player ) {
You can’t perform that action at this time.
0 commit comments