mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Update comment
This commit is contained in:
1 parent
33fc3f4c32
commit
eff41f16cd
1 file changed
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user