mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-19 11:49:05 +00:00
- Basic types can now be converted to the "any" type
- Changed OreDict 'contains' to respond to the 'in' operator
This commit is contained in:
1 parent
52f92dcfd4
commit
1b72abb2b4
59 files changed
+3595
-976
No files matched your search
@@ -18,6 +18,8 @@ public class ZenPosition {
|
||||
private final int offset;
|
||||
|
||||
public ZenPosition(ZenParsedFile file, int line, int offset) {
|
||||
if (file != null && line <= 0) throw new IllegalArgumentException("Line must be positive");
|
||||
|
||||
this.file = file;
|
||||
this.line = line;
|
||||
this.offset = offset;
|
||||
|
||||
Reference in new issue
Block a user