From eff41f16cddad991fd64c0eacf2a53b50e5597a3 Mon Sep 17 00:00:00 2001 From: William Date: Fri, 27 Aug 2021 00:59:27 +0100 Subject: [PATCH] Update comment --- .../me/william278/huskhomes2/commands/EditHomeCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/william278/huskhomes2/commands/EditHomeCommand.java b/src/main/java/me/william278/huskhomes2/commands/EditHomeCommand.java index 29e746f0..013918af 100644 --- a/src/main/java/me/william278/huskhomes2/commands/EditHomeCommand.java +++ b/src/main/java/me/william278/huskhomes2/commands/EditHomeCommand.java @@ -152,7 +152,7 @@ public class EditHomeCommand extends CommandBase implements TabCompleter { } } - // Remove old marker if on the Dynmap + // Remove old marker if using a map integration if (descriptionChangedHome.isPublic() && HuskHomes.getSettings().doMapIntegration() && HuskHomes.getSettings().showPublicHomesOnMap()) { HuskHomes.getMap().removePublicHomeMarker(homeName, p.getName()); } @@ -160,7 +160,7 @@ public class EditHomeCommand extends CommandBase implements TabCompleter { // Update description DataManager.updateHomeDescription(p.getName(), homeName, newDescriptionString, connection); - // Add new marker if using Dynmap + // Add new marker if using a map integration descriptionChangedHome.setDescription(newDescriptionString); if (descriptionChangedHome.isPublic() && HuskHomes.getSettings().doMapIntegration() && HuskHomes.getSettings().showPublicHomesOnMap()) { HuskHomes.getMap().addPublicHomeMarker(descriptionChangedHome);