Add CarpetContext.s back temporarily as Deprecated for compatibility
This commit is contained in:
1 file changed
+5
-1
@@ -11,7 +11,11 @@ import net.minecraft.server.level.ServerLevel;
|
||||
|
||||
public class CarpetContext extends Context
|
||||
{
|
||||
private CommandSourceStack s;
|
||||
/**
|
||||
* @deprecated Use {@link #source()} or the new methods to access stuff in it instead
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
public CommandSourceStack s;
|
||||
private final BlockPos origin;
|
||||
|
||||
public CarpetContext(CarpetScriptHost host, CommandSourceStack source) {
|
||||
|
||||
Reference in new issue
Block a user