Skip to content

Commit 8ba17b6

Browse files
committed
LAccess true/false representation for boolean attributes
1 parent 980ed14 commit 8ba17b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mimex/MindustryMetadataExtractor.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@ private void writeLAccess() {
219219

220220
for (LAccess l : LAccess.all) {
221221
sbr.append(l.name())
222-
.append(';').append(senseable.contains(l) ? "1" : "0")
223-
.append(';').append(controls.contains(l) ? "1" : "0")
224-
.append(';').append(settable.contains(l) ? "1" : "0")
222+
.append(';').append(senseable.contains(l))
223+
.append(';').append(controls.contains(l))
224+
.append(';').append(settable.contains(l))
225225
.append(';').append(String.join(",", l.params))
226226
.append(newLine);
227227
}

0 commit comments

Comments
 (0)