Add CarpetContext.s back temporarily as Deprecated for compatibility

This commit is contained in:
altrisi committed 2023-01-18 13:47:22 +01:00
1 parent bd5dfdbf9f
commit 0e8b53c8d3
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) {