Skip to content

Commit

Permalink
Bump version.
Browse files Browse the repository at this point in the history
Signed-off-by: 秋雨落 <[email protected]>
  • Loading branch information
qyl27 committed Sep 27, 2024
1 parent 3e995fc commit 11e24c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ mod_name=Chrome Ball
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=BSD-3-Clause
# The mod version. See https://semver.org/
mod_version=0.7.0
mod_version=0.8.0
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public class ChromeLivingEntity extends LivingEntity {

public ChromeLivingEntity(EntityType<? extends ChromeLivingEntity> entityType, Level level) {
super(entityType, level);
setInvulnerable(true);
}

@Override
Expand Down Expand Up @@ -62,6 +63,7 @@ public Component getDisplayName() {
@Override
public @NotNull InteractionResult interact(@NotNull Player player, @NotNull InteractionHand hand) {
if (getClientClicked() == 0) {
// Click cooldown for protecting 4z's head.
clientClicked = 20;
if (!level().isClientSide()) {
player.awardStat(ChromeBallRegistry.MERIT_STAT.get());
Expand Down

0 comments on commit 11e24c4

Please sign in to comment.