Files

16 lines
609 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# chroma_trail.js — trailError() (satır 160)
[← chroma_trail.js](index.md) · [← Master](../../wiki.md)
```javascript
function trailError(id, meta, gm) {
var s = makeState(id, meta);
if (!s) return "Blok bulunamadi: " + id + ":" + meta;
var bid = String(s.getBlockId());
if (!s.isOpaque()) return "Tam/kati bir blok sec (cam, slab, sivi olmaz): " + id;
if (TRAIL_DENY[bid]) return "Bu blok iz icin guvenli degil: " + id;
if (gm !== 1 && !SURVIVAL_TRAIL[bid]) return "Creative disinda sadece chroma, wool, concrete, terracotta: " + id;
return null;
}
```