We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ed4c1e commit 5dbb7ffCopy full SHA for 5dbb7ff
src/main/java/net/just_s/sds/SDSMod.java
@@ -24,7 +24,7 @@ public void onInitialize() {
24
AttackBlockCallback.EVENT.register(
25
(player, world, hand, pos, direction) -> {
26
// callback hooks before the spectator check
27
- if (player.isSpectator()) {
+ if (player.isSpectator() || player.isCreative()) {
28
return ActionResult.PASS;
29
}
30
0 commit comments