Skip to content

Commit

Permalink
Fix EnderPearlChunkLoading (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystal0404 authored Jan 18, 2024
1 parent ce8d3f8 commit 3d1d8d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/carpetextra/mixins/ThrownEntityMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ private ThrownEntityMixin(EntityType<?> type, World world)
super(type, world);
}

@Inject(method = "tick", at = @At(value = "INVOKE",
target = "Lnet/minecraft/entity/projectile/thrown/ThrownEntity;setPosition(DDD)V"))
@Inject(method = "tick()V", at = @At(value = "HEAD"))
private void chunkLoadNextChunk(CallbackInfo ci)
{
if (CarpetExtraSettings.enderPearlChunkLoading &&
Expand Down

0 comments on commit 3d1d8d0

Please sign in to comment.