public static bool Prefix(GameLocation __instance, Debris debris, ref bool __result) { if (!Config.EnableMod || !__instance.Name.Equals("Dreamscape") || debris.isEssentialItem() || (debris.debrisType.Value == Debris.DebrisType.OBJECT && debris.chunkType.Value == 74)) { return(true); } __instance.localSound("dwop"); __result = true; return(false); }