Skip to content

Commit

Permalink
fix: creative not removing case on use
Browse files Browse the repository at this point in the history
  • Loading branch information
Duzos committed Aug 29, 2024
1 parent c49cae4 commit 6f32b68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static boolean fromCase(ServerPlayerEntity player, boolean force) {
player.getWorld().playSound(null, player.getBlockPos(), Register.Sounds.MARK5_NOISES, SoundCategory.PLAYERS, 0.25f, 1f);
Network.toTracking(new MarkFiveCaseS2CPacket(player.getUuid(), true), player);

player.getMainHandStack().setCount(0);
player.setStackInHand(Hand.MAIN_HAND, ItemStack.EMPTY);
}

getSet().wear(player);
Expand Down

0 comments on commit 6f32b68

Please sign in to comment.