{"action":"created","issue":{"url":"https://api.github.com/repos/SpongePowered/Mixin/issues/146","repository_url":"https://api.github.com/repos/SpongePowered/Mixin","labels_url":"https://api.github.com/repos/SpongePowered/Mixin/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/SpongePowered/Mixin/issues/146/comments","events_url":"https://api.github.com/repos/SpongePowered/Mixin/issues/146/events","html_url":"https://github.com/SpongePowered/Mixin/issues/146","id":186770553,"number":146,"title":"MixinEnvironment cannot determine the side when using a custom ITweaker ","user":{"login":"modmuss50","id":4324090,"avatar_url":"https://avatars.githubusercontent.com/u/4324090?v=3","gravatar_id":"","url":"https://api.github.com/users/modmuss50","html_url":"https://github.com/modmuss50","followers_url":"https://api.github.com/users/modmuss50/followers","following_url":"https://api.github.com/users/modmuss50/following{/other_user}","gists_url":"https://api.github.com/users/modmuss50/gists{/gist_id}","starred_url":"https://api.github.com/users/modmuss50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modmuss50/subscriptions","organizations_url":"https://api.github.com/users/modmuss50/orgs","repos_url":"https://api.github.com/users/modmuss50/repos","events_url":"https://api.github.com/users/modmuss50/events{/privacy}","received_events_url":"https://api.github.com/users/modmuss50/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-02T11:02:08Z","updated_at":"2016-11-02T11:28:54Z","closed_at":"2016-11-02T11:28:54Z","body":"There doesn't appear to be a way to specify the side when using a custom tweaker. \r\n\r\nAfter a bit of poking around I found that it appears to be hard coded to work with Forge and LiteLoader.\r\n\r\nhttps://github.com/SpongePowered/Mixin/blob/master/src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java#L196\r\n\r\nI came across this as I noticed my mixins were not being applied and I was given this error: \r\n\r\n`Mixin environment was unable to detect the current side, sided mixins will not be applied`\r\n\r\nI might be wrong with this so I look forward to your input. \r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/SpongePowered/Mixin/issues/comments/257839251","html_url":"https://github.com/SpongePowered/Mixin/issues/146#issuecomment-257839251","issue_url":"https://api.github.com/repos/SpongePowered/Mixin/issues/146","id":257839251,"user":{"login":"Mumfrey","id":1147071,"avatar_url":"https://avatars.githubusercontent.com/u/1147071?v=3","gravatar_id":"","url":"https://api.github.com/users/Mumfrey","html_url":"https://github.com/Mumfrey","followers_url":"https://api.github.com/users/Mumfrey/followers","following_url":"https://api.github.com/users/Mumfrey/following{/other_user}","gists_url":"https://api.github.com/users/Mumfrey/gists{/gist_id}","starred_url":"https://api.github.com/users/Mumfrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mumfrey/subscriptions","organizations_url":"https://api.github.com/users/Mumfrey/orgs","repos_url":"https://api.github.com/users/Mumfrey/repos","events_url":"https://api.github.com/users/Mumfrey/events{/privacy}","received_events_url":"https://api.github.com/users/Mumfrey/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T11:28:54Z","updated_at":"2016-11-02T11:28:54Z","body":"I assume you're talking about SpongeVanilla? That message can be safely ignored because all it's telling you is that Mixin itself couldn't automatically detect the side. Sponge vanilla [just calls `setSide`](https://github.com/SpongePowered/SpongeVanilla/blob/da038acaea204be3e78e5526f61c182a5381ab57/src/main/java/org/spongepowered/server/launch/VanillaServerTweaker.java#L144) in order to set the side and so the side is still set correctly, just not detected automatically."}}
{"actor":{"display_login":"Mumfrey"}}