@@ -807,11 +807,8 @@ private static void GenHandler(Player player, CommandReader cmd) {
807807 Logger . Log ( LogType . UserActivity ,
808808 "Gen: Asked {0} to confirm replacing the map of world {1} (\" this map\" )." ,
809809 player . Name , playerWorld . Name ) ;
810- if ( ! Entity . AnyIn ( player . World ) ) {
811- player . Confirm ( cmd , "Replace THIS MAP with a generated one ({0})?" , templateFullName ) ;
812- } else {
813- player . Confirm ( cmd , "Replace THIS MAP with a generated one ({0})?&NThis will also remove all the Entities/Bots on the world." , templateFullName ) ;
814- }
810+
811+ player . Confirm ( cmd , "Replace THIS MAP with a generated one ({0})?" , templateFullName ) ;
815812 return ;
816813 }
817814 } else {
@@ -955,11 +952,8 @@ private static void GenHMHandler(Player player, CommandReader cmd) {
955952 Logger . Log ( LogType . UserActivity ,
956953 "GenHM: Asked {0} to confirm replacing the map of world {1} (\" this map\" )." ,
957954 player . Name , playerWorld . Name ) ;
958- if ( ! Entity . AnyIn ( player . World ) ) {
959- player . Confirm ( cmd , "Replace THIS MAP with a generated one (HeightMap: &9{0}&S)?" , url ) ;
960- } else {
961- player . Confirm ( cmd , "Replace THIS MAP with a generated one (HeightMap: &9{0}&S)?&NThis will also remove all the Entities/Bots on the world." , url ) ;
962- }
955+
956+ player . Confirm ( cmd , "Replace THIS MAP with a generated one (HeightMap: &9{0}&S)?" , url ) ;
963957 return ;
964958 }
965959
@@ -3411,13 +3405,8 @@ static void MWReset(Player player, CommandReader cmd) {
34113405 player . Message ( "You have no personal worlds by that number: {0}" , num ) ; return ;
34123406 }
34133407 if ( ! cmd . IsConfirmed ) {
3414- if ( ! Entity . AnyIn ( player . World ) ) {
3415- player . Confirm ( cmd , "This will reset your personal world: " + mapName +
3416- "&N&cThis cannot be undone!" ) ;
3417- } else {
3418- player . Confirm ( cmd , "This will reset your personal world: " + mapName +
3419- "&N&cThis cannot be undone!&NThis will also remove all the Entities/Bots on the world." ) ;
3420- }
3408+ player . Confirm ( cmd , "This will reset your personal world: " + mapName +
3409+ "&N&cThis cannot be undone!" ) ;
34213410 return ;
34223411 }
34233412
0 commit comments