Revert "Allow markers to be used as light sources (#9733)" (#10490)

This reverts commit 8626082068.
This commit is contained in:
Anuken
2025-02-10 14:24:46 -05:00
committed by GitHub
parent a3987fde71
commit 7a6222aa18
12 changed files with 68 additions and 196 deletions

View File

@@ -302,11 +302,6 @@ public class MapObjectivesDialog extends BaseDialog{
}).growX().fillY();
});
setInterpreter(IndexBool.class, int.class, (cont, name, type, field, remover, indexer, get, set) -> {
getInterpreter(Boolean.class).build(cont, name, type, field, remover, indexer, () -> get.get() != -1, v -> set.get(v ? +1 : -1));
});
// Special data structure interpreters.
// Instantiate default `Seq`s with a reflectively allocated array.
setProvider(Seq.class, (type, cons) -> cons.get(new Seq<>(type.element.raw)));