diff --git a/src/main/java/carpet/script/CarpetContext.java b/src/main/java/carpet/script/CarpetContext.java index d10ed2ed..cfb21eff 100644 --- a/src/main/java/carpet/script/CarpetContext.java +++ b/src/main/java/carpet/script/CarpetContext.java @@ -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) {