Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Help] "Only the GM is allowed to switch classes" on createObj()

For some reason when I create a graphic token in my script there's a message in the chat log from "System" that says "Only the GM is allowed to switch classes.". The token is otherwise created, does anyone know what this even means or how to get rid of it? createObj("graphic", { name: "lol", width: 70, height: 70, left: 100, top: 100, imgsrc: "<a href="https://s3.amazonaws.com/files.d20.io/images/3649154/Fdj4VC7BJ6rwpuoMpw5UGQ/thumb.png?1396828515" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/3649154/Fdj4VC7BJ6rwpuoMpw5UGQ/thumb.png?1396828515</a>", layer: "objects", pageid: Campaign().get("playerpageid") })
I think that has to do with the pageid or the layer? I always get a similar error message when I supply the pageid, but I'm pretty sure it actually mentions the pageid as a problem in that error message. And then it creates the object, but on the current page instead of the page I supplied. So is it actually paying any attention to the layer you're supplying it, or is it always the same layer no matter what you say?
Sorry, turned out it was just a random plugin my wife installed that was doing that.