Lab6 #8

Merged
Zakharov_Rostislav merged 6 commits from Lab6 into Lab5 2024-03-10 18:15:01 +04:00
Showing only changes of commit 74284dde17 - Show all commits

View File

@ -72,7 +72,7 @@ public class ExtensionDrawingShip {
if(!(ship instanceof EntityBattleship)){
return str;
}
return String.format("%s%c%s%c%b%c%b%", str, separatorForObject,
return String.format("%s%c%s%c%b%c%b", str, separatorForObject,
getColorName(((EntityBattleship) ship).getAdditionalColor()), separatorForObject,
((EntityBattleship) ship).getTurret(), separatorForObject,
((EntityBattleship) ship).getRocketLauncher());