test
This commit is contained in:
parent
ee848d5e1c
commit
89a384820f
1 changed files with 2 additions and 1 deletions
|
@ -144,6 +144,7 @@ public class MortarEntity extends Entity implements GeoEntity, AnimatedEntity {
|
|||
this.setYBodyRot(this.getYRot());
|
||||
this.setYHeadRot(this.getYRot());
|
||||
this.yRotO = this.getYRot();
|
||||
this.setRot(this.getYRot(), this.getXRot());
|
||||
}
|
||||
if (mainHandItem.getItem() == ModItems.MORTAR_SHELLS.get() && !player.isShiftKeyDown() && this.entityData.get(FIRE_TIME) == 0) {
|
||||
this.entityData.set(FIRE_TIME, 25);
|
||||
|
@ -170,7 +171,7 @@ public class MortarEntity extends Entity implements GeoEntity, AnimatedEntity {
|
|||
});
|
||||
}
|
||||
|
||||
return InteractionResult.sidedSuccess(this.level().isClientSide());
|
||||
return InteractionResult.SUCCESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue