Skip to content

Commit

Permalink
Don't zero out the entity motion on merge. Close #92
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredlll08 committed Feb 23, 2022
1 parent 1b5e766 commit 34c57ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public void tick() {
EntityXPOrbBig newOrb = new EntityXPOrbBig(world, getPosX(), getPosY(), getPosZ(), newSize, newClumpedMap);
MinecraftForge.EVENT_BUS.post(new EXPMergeEvent(this, orb, newOrb));

newOrb.setMotion(0, 0, 0);
newOrb.setMotion(this.getMotion());
world.addEntity(newOrb);
remove();
}
Expand Down

0 comments on commit 34c57ca

Please sign in to comment.