Expose origin-less constructors and methods (#1556)
This commit is contained in:
1 parent
f63c6acb05
commit
b1c29efa2b
4 files changed
+17
-8
No files matched your search
@@ -8,6 +8,11 @@ public class CarpetContext extends Context
|
||||
{
|
||||
public CommandSourceStack s;
|
||||
public final BlockPos origin;
|
||||
|
||||
public CarpetContext(ScriptHost host, CommandSourceStack source) {
|
||||
this(host, source, BlockPos.ZERO);
|
||||
}
|
||||
|
||||
public CarpetContext(ScriptHost host, CommandSourceStack source, BlockPos origin)
|
||||
{
|
||||
super(host);
|
||||
|
||||
Reference in new issue
Block a user