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

View File

@ -175,7 +175,7 @@ public final class MemoryBehavior extends Behavior {
@Override @Override
public void onPlayerDeath() { public void onPlayerDeath() {
Waypoint deathWaypoint = new Waypoint("death", Waypoint.Tag.DEATH, ctx.playerFeet()); 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."); ITextComponent component = new TextComponentString("Death position saved.");
component.getStyle() component.getStyle()
.setColor(TextFormatting.WHITE) .setColor(TextFormatting.WHITE)