fix error made while copying and pasting.

Signed-off-by: scorbett123 <sam@corbettchocolates.com>
This commit is contained in:
scorbett123 2020-11-01 17:30:53 +00:00
parent 60f81fb89d
commit c0f7d5ab44
No known key found for this signature in database
GPG Key ID: C16B9466EBFC2DE7
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ public final class MemoryBehavior extends Behavior {
@Override
public void onPlayerDeath() {
Waypoint deathWaypoint = new Waypoint("death", Waypoint.Tag.DEATH, ctx.playerFeet());
baritone.getWorldProvider().getCurrentWorld().getWaypoints().addWaypoint(new Waypoint("death", Waypoint.Tag.DEATH, ctx.playerFeet()));
baritone.getWorldProvider().getCurrentWorld().getWaypoints().addWaypoint(deathWaypoint);
ITextComponent component = new TextComponentString("Death position saved.");
component.getStyle()
.setColor(TextFormatting.WHITE)