removed ==true
@@ -285,7 +285,7 @@ private void setUpGameWorlds() {
gameWorlds.setItemRenderer(new AbstractItemRenderer<WorldInfo>() {
@Override
public void draw(WorldInfo value, Canvas canvas) {
- if(value.getCustomTitle().isEmpty()==true) {
+ if(value.getCustomTitle().isEmpty()) {
canvas.drawText(value.getTitle());
}
else {
@@ -303,7 +303,7 @@ public Vector2i getPreferredSize(WorldInfo value, Canvas canvas) {
private String getWorldDescription(final WorldInfo worldInfo) {
String game_title;
- if(worldInfo.getCustomTitle().isEmpty()==true) {
+ if(worldInfo.getCustomTitle().isEmpty()) {
game_title=worldInfo.getTitle();
}
else {
