Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ranged item immediatesourceentity dependency variable having the wrong name #386

Merged
merged 1 commit into from
Mar 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class ${name}Entity extends AbstractArrow implements ItemSupplier {
@Override public void playerTouch(Player entity) {
super.playerTouch(entity);
Entity sourceentity = this.getOwner();
Entity imediatesourceentity = this;
Entity immediatesourceentity = this;
double x = this.getX();
double y = this.getY();
double z = this.getZ();
Expand All @@ -80,7 +80,7 @@ public class ${name}Entity extends AbstractArrow implements ItemSupplier {
super.onHitEntity(entityHitResult);
Entity entity = entityHitResult.getEntity();
Entity sourceentity = this.getOwner();
Entity imediatesourceentity = this;
Entity immediatesourceentity = this;
double x = this.getX();
double y = this.getY();
double z = this.getZ();
Expand All @@ -97,7 +97,7 @@ public class ${name}Entity extends AbstractArrow implements ItemSupplier {
double z = blockHitResult.getBlockPos().getZ();
Level world = this.level;
Entity entity = this.getOwner();
Entity imediatesourceentity = this;
Entity immediatesourceentity = this;
<@procedureOBJToCode data.onBulletHitsBlock/>
}
</#if>
Expand All @@ -111,7 +111,7 @@ public class ${name}Entity extends AbstractArrow implements ItemSupplier {
double z = this.getZ();
Level world = this.level;
Entity entity = this.getOwner();
Entity imediatesourceentity = this;
Entity immediatesourceentity = this;
<@procedureOBJToCode data.onBulletFlyingTick/>
</#if>

Expand Down Expand Up @@ -184,4 +184,4 @@ public class ${name}Entity extends AbstractArrow implements ItemSupplier {

}
</#compress>
<#-- @formatter:on -->
<#-- @formatter:on -->