diff --git a/SingleplayerCoopEmotes.cs b/SingleplayerCoopEmotes.cs index 36b5d52..55ad441 100644 --- a/SingleplayerCoopEmotes.cs +++ b/SingleplayerCoopEmotes.cs @@ -12,7 +12,7 @@ namespace SingleplayerCoopEmotes { - [BepInPlugin("sabreml.singleplayercoopemotes", "SingleplayerCoopEmotes", "1.1.5")] + [BepInPlugin("sabreml.singleplayercoopemotes", "SingleplayerCoopEmotes", "1.1.6")] public class SingleplayerCoopEmotes : BaseUnityPlugin { public void OnEnable() @@ -59,7 +59,7 @@ private void JollyUpdateHK(On.Player.orig_JollyUpdate orig, Player self, bool eu { // If this is hooked then the checks above must have passed, so we don't need to worry about it trying to emote twice. orig(self, eu); - if (self.isNPC || self.room == null) + if (self.isNPC || self.room == null || self.abstractCreature.world.game.wasAnArtificerDream) { return; } diff --git a/SingleplayerCoopEmotes/modinfo.json b/SingleplayerCoopEmotes/modinfo.json index 7715f3c..a0b2c73 100644 --- a/SingleplayerCoopEmotes/modinfo.json +++ b/SingleplayerCoopEmotes/modinfo.json @@ -1,8 +1,9 @@ { - "id": "sabreml.singleplayercoopemotes", - "name": "Singleplayer Co-op Emotes", - "version": "1.1.5", - "target_game_version": "v1.9.05", - "authors": "SabreML", - "description": "Makes the Jolly Co-op emotes work in singleplayer!" + "id": "sabreml.singleplayercoopemotes", + "name": "Singleplayer Co-op Emotes", + "version": "1.1.6", + "target_game_version": "v1.9.06", + "authors": "SabreML", + "description": "Makes the Jolly Co-op emotes work in singleplayer!", + "tags": ["Game Mechanics"] } \ No newline at end of file